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/generic.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/generic.py')
| -rw-r--r-- | gallery_dl/extractor/generic.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/generic.py b/gallery_dl/extractor/generic.py index bece905..69c07d0 100644 --- a/gallery_dl/extractor/generic.py +++ b/gallery_dl/extractor/generic.py @@ -27,9 +27,9 @@ class GenericExtractor(Extractor): pattern += r""" (?P<scheme>https?://)? # optional http(s) scheme (?P<domain>[-\w\.]+) # required domain - (?P<path>/[^?&#]*)? # optional path - (?:\?(?P<query>[^/?#]*))? # optional query - (?:\#(?P<fragment>.*))?$ # optional fragment + (?P<path>/[^?#]*)? # optional path + (?:\?(?P<query>[^#]*))? # optional query + (?:\#(?P<fragment>.*))? # optional fragment """ def __init__(self, match): |
