[bellazon] ignore links to other threads or posts (#8392)
This commit is contained in:
@@ -52,7 +52,11 @@ class BellazonExtractor(Extractor):
|
||||
url = text.unescape(url or url_img)
|
||||
|
||||
if url.startswith(native):
|
||||
if "/uploads/emoticons/" in url or "/profile/" in url:
|
||||
if (
|
||||
"/uploads/emoticons/" in url or
|
||||
"/profile/" in url or
|
||||
"/topic/" in url
|
||||
):
|
||||
continue
|
||||
data["num"] += 1
|
||||
if not (alt := text.extr(info, ' alt="', '"')) or (
|
||||
|
||||
Reference in New Issue
Block a user