summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/wallhaven.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-10-17 03:44:04 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2022-10-17 03:44:04 -0400
commit78e2d1672e4301497f786cd03637de9ddbc717ac (patch)
treed74e3d9f54f1982c88feabe84f2804fc00beae5f /gallery_dl/extractor/wallhaven.py
parentb2d8a54ecf4157570d00a8b974a779766822bf4b (diff)
New upstream version 1.23.3.upstream/1.23.3
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"