Improve legibility
This commit is contained in:
@@ -157,9 +157,8 @@ class ScraperBot(MultiBot, ABC):
|
|||||||
if not any(ids) and flanautils.find_urls(text_part):
|
if not any(ids) and flanautils.find_urls(text_part):
|
||||||
if force:
|
if force:
|
||||||
media_urls.append(text_part)
|
media_urls.append(text_part)
|
||||||
else:
|
elif not any(domain.lower() in text_part for domain in multibot_constants.GIF_DOMAINS):
|
||||||
if not any(domain.lower() in text_part for domain in multibot_constants.GIF_DOMAINS):
|
media_urls.append(text_part)
|
||||||
media_urls.append(text_part)
|
|
||||||
|
|
||||||
if not any(ids) and not media_urls:
|
if not any(ids) and not media_urls:
|
||||||
return medias
|
return medias
|
||||||
|
|||||||
Reference in New Issue
Block a user