check for gruene.social instead of Google Plus (#267)

This commit is contained in:
Florian 2022-09-16 10:13:49 +02:00 committed by GitHub
parent ba40bcf5b4
commit 394b902fa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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