Update animerush.py

master
Arjix 2021-06-21 20:50:54 +03:00 committed by GitHub
parent 6e409f9545
commit 38ebb40ca3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -46,10 +46,10 @@ class AnimeRushEpisode(AnimeEpisode, sitename='animerush'):
domain_regex = r"\/\/(?:\w{3,6}\.)?(.*?)\."
for i in sources:
found = False
domain = re.findall(domain_regex, i[0])[0]
domain = re.findall(domain_regex, i[0])[0].lower()
for extractor in ALL_EXTRACTORS:
if re.match(extractor['regex'], domain.lower()):
if re.match(extractor['regex'], domain):
found = True
if not found: