aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/hotleak.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/hotleak.py')
-rw-r--r--gallery_dl/extractor/hotleak.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/hotleak.py b/gallery_dl/extractor/hotleak.py
index 34fbabd..ddfc54b 100644
--- a/gallery_dl/extractor/hotleak.py
+++ b/gallery_dl/extractor/hotleak.py
@@ -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/")