mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-05-03 01:24:51 +02:00
check for gruene.social instead of Google Plus (#267)
This commit is contained in:
parent
ba40bcf5b4
commit
394b902fa6
|
@ -45,7 +45,7 @@ class Rater(AbstractRater):
|
|||
if ("facebook.com" in parsed.hostname or
|
||||
"twitter.com" in parsed.hostname or
|
||||
"instagram.com" in parsed.hostname or
|
||||
"plus.google.com" in parsed.hostname):
|
||||
"gruene.social" in parsed.hostname):
|
||||
logging.debug("Found social media link on %s: %s" % (url, link['href']))
|
||||
urls_with_social_media_links += 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue