diff options
| author | 2022-10-17 03:44:10 -0400 | |
|---|---|---|
| committer | 2022-10-17 03:44:10 -0400 | |
| commit | 6fa3c3d58670e90b140eeaa759773a3fe749321d (patch) | |
| tree | 1060614e4c8708f59ac27e1ab9e20d6c3e42e806 /gallery_dl/extractor/unsplash.py | |
| parent | 71693e4757b29b478b4ef7c876c24aa7426a58e1 (diff) | |
| parent | 78e2d1672e4301497f786cd03637de9ddbc717ac (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/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$", |
