diff options
| author | 2022-10-17 03:44:04 -0400 | |
|---|---|---|
| committer | 2022-10-17 03:44:04 -0400 | |
| commit | 78e2d1672e4301497f786cd03637de9ddbc717ac (patch) | |
| tree | d74e3d9f54f1982c88feabe84f2804fc00beae5f /gallery_dl/extractor/unsplash.py | |
| parent | b2d8a54ecf4157570d00a8b974a779766822bf4b (diff) | |
New upstream version 1.23.3.upstream/1.23.3
Diffstat (limited to 'gallery_dl/extractor/unsplash.py')
| -rw-r--r-- | gallery_dl/extractor/unsplash.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/unsplash.py b/gallery_dl/extractor/unsplash.py index 623ed94..8bea18c 100644 --- a/gallery_dl/extractor/unsplash.py +++ b/gallery_dl/extractor/unsplash.py @@ -210,7 +210,7 @@ class UnsplashCollectionExtractor(UnsplashExtractor): class UnsplashSearchExtractor(UnsplashExtractor): """Extractor for unsplash search results""" subcategory = "search" - pattern = BASE_PATTERN + r"/s/photos/([^/?#]+)(?:\?([^/?#]+))?" + pattern = BASE_PATTERN + r"/s/photos/([^/?#]+)(?:\?([^#]+))?" test = ("https://unsplash.com/s/photos/hair-style", { "pattern": r"https://images\.unsplash\.com/((flagged/)?photo-\d+-\w+" r"|reserve/[^/?#]+)\?ixid=\w+&ixlib=rb-1\.2\.1$", |
