summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/rule34us.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-10-14 03:02:05 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2024-10-14 03:02:05 -0400
commit0db541f524e1774865efebcbe5653e9ad76ea2e8 (patch)
treeb0fc6ce19628931f61c43f2dc9ebfd88a4332388 /gallery_dl/extractor/rule34us.py
parent1a457ed68769880ab7760e0746f0cbbd9ca00487 (diff)
New upstream version 1.27.6.upstream/1.27.6
Diffstat (limited to 'gallery_dl/extractor/rule34us.py')
-rw-r--r--gallery_dl/extractor/rule34us.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/rule34us.py b/gallery_dl/extractor/rule34us.py
index cf70ccc..60c1c35 100644
--- a/gallery_dl/extractor/rule34us.py
+++ b/gallery_dl/extractor/rule34us.py
@@ -36,7 +36,7 @@ class Rule34usExtractor(BooruExtractor):
"score" : text.extract(extr('Score: ', '> - <'), ">", "<")[0],
"width" : extr('Size: ', 'w'),
"height" : extr(' x ', 'h'),
- "file_url": extr(' src="', '"'),
+ "file_url": extr('<source src="', '"') or extr('<img src="', '"'),
}
url = post["file_url"]