Merge remote-tracking branch 'origin/master'
# Conflicts: # connectors.py
This commit is contained in:
commit
df3c72ea92
@ -246,7 +246,7 @@ class Nyaa(Connector):
|
|||||||
url = urls[0]
|
url = urls[0]
|
||||||
has_comment = False
|
has_comment = False
|
||||||
|
|
||||||
if any(word in url.string for word in BLACKLIST_WORDS):
|
if any(word.lower() in url.string.lower() for word in BLACKLIST_WORDS):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
valid_trs = valid_trs + 1
|
valid_trs = valid_trs + 1
|
||||||
@ -313,7 +313,7 @@ class Pantsu(Connector):
|
|||||||
url = tds[1].a
|
url = tds[1].a
|
||||||
url_safe = ''.join(url.strings)
|
url_safe = ''.join(url.strings)
|
||||||
|
|
||||||
if any(word in url_safe for word in BLACKLIST_WORDS):
|
if any(word.lower() in url_safe.lower() for word in BLACKLIST_WORDS):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
valid_trs = valid_trs + 1
|
valid_trs = valid_trs + 1
|
||||||
@ -399,7 +399,7 @@ class YggTorrent(Connector):
|
|||||||
if check_downloads or check_seeds:
|
if check_downloads or check_seeds:
|
||||||
url = tds[1].a
|
url = tds[1].a
|
||||||
|
|
||||||
if any(word in url.string for word in BLACKLIST_WORDS):
|
if any(word.lower() in url.string.lower() for word in BLACKLIST_WORDS):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
valid_trs = valid_trs + 1
|
valid_trs = valid_trs + 1
|
||||||
|
Reference in New Issue
Block a user