[hotleak] fix AttributeError (#5950)

fixes regression introduced in 0432e057
This commit is contained in:
Mike Fährmann
2024-08-07 08:26:23 +02:00
parent ff4e53adac
commit 575e5df539
2 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ class HotleakExtractor(Extractor):
def items(self):
for post in self.posts():
if self.type == "photo":
if not post["url"].startswith("ytdl:"):
post["url"] = (
post["url"]
.replace("/storage/storage/", "/storage/")