merge #7699: [warosu] handle missing images by checking hostname (#7698)

This commit is contained in:
Mike Fährmann
2025-06-20 13:17:44 +02:00
2 changed files with 10 additions and 0 deletions

View File

@@ -98,6 +98,8 @@ class WarosuThreadExtractor(Extractor):
if url:
if url[0] == "/":
data["image"] = self.root + url
elif "warosu." not in url:
return False
else:
data["image"] = url
return True