aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/wallhaven.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-10-17 03:44:10 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2022-10-17 03:44:10 -0400
commit6fa3c3d58670e90b140eeaa759773a3fe749321d (patch)
tree1060614e4c8708f59ac27e1ab9e20d6c3e42e806 /gallery_dl/extractor/wallhaven.py
parent71693e4757b29b478b4ef7c876c24aa7426a58e1 (diff)
parent78e2d1672e4301497f786cd03637de9ddbc717ac (diff)
Update upstream source from tag 'upstream/1.23.3'
Update to upstream version '1.23.3' with Debian dir 9ed24fbe8a8282e29b08d37ad95a98d733c8d145
Diffstat (limited to 'gallery_dl/extractor/wallhaven.py')
-rw-r--r--gallery_dl/extractor/wallhaven.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/wallhaven.py b/gallery_dl/extractor/wallhaven.py
index 0ad8523..47451bd 100644
--- a/gallery_dl/extractor/wallhaven.py
+++ b/gallery_dl/extractor/wallhaven.py
@@ -52,7 +52,7 @@ class WallhavenSearchExtractor(WallhavenExtractor):
subcategory = "search"
directory_fmt = ("{category}", "{search[q]}")
archive_fmt = "s_{search[q]}_{id}"
- pattern = r"(?:https?://)?wallhaven\.cc/search(?:/?\?([^/?#]+))?"
+ pattern = r"(?:https?://)?wallhaven\.cc/search(?:/?\?([^#]+))?"
test = (
("https://wallhaven.cc/search?q=touhou"),
(("https://wallhaven.cc/search?q=id%3A87"