[hotleak] fix AttributeError (#5950)
fixes regression introduced in 0432e057
This commit is contained in:
@@ -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/")
|
||||
|
||||
Reference in New Issue
Block a user