aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/hotleak.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-08-12 02:42:43 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2024-08-12 02:42:43 -0400
commit5fd4ef85296d95ae7d4547feaf9729ad8ce52893 (patch)
tree0836b5465e6276f3001459a7e8e7445d190148ff /gallery_dl/extractor/hotleak.py
parentca051dc5aa2bf035a7b82975564abd88d79096ba (diff)
parentb5e56c51e491b41f9eb6a895459c185788a377e5 (diff)
Update upstream source from tag 'upstream/1.27.3'
Update to upstream version '1.27.3' with Debian dir 79448c635909113c80b387fc5241f5b74402527c
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/")