summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/booru.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-08-25 02:01:07 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-08-25 02:01:07 -0400
commit1df55d9de48105dace9cc16f1511dba3c9a6da6f (patch)
tree6f6af90bd15a453d7fd1f5253cf01e1db801222f /gallery_dl/extractor/booru.py
parent3c1539bde1b47fff0ba81c9d92801fa700fedc3b (diff)
New upstream version 1.30.5.upstream/1.30.5
Diffstat (limited to 'gallery_dl/extractor/booru.py')
-rw-r--r--gallery_dl/extractor/booru.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/booru.py b/gallery_dl/extractor/booru.py
index 3b97e9a..ae455bf 100644
--- a/gallery_dl/extractor/booru.py
+++ b/gallery_dl/extractor/booru.py
@@ -52,7 +52,8 @@ class BooruExtractor(BaseExtractor):
if notes:
self._notes(post, html)
- text.nameext_from_url(url, post)
+ if "extension" not in post:
+ text.nameext_from_url(url, post)
post.update(data)
self._prepare(post)