summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/urlshortener.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-05-22 01:03:31 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-05-22 01:03:31 -0400
commitbff1d7a3fc1f184002ea6c6f77de675885bda3eb (patch)
treeeead9e450ed44ac46393ad6db6df8d2f5d7a2bf0 /gallery_dl/extractor/urlshortener.py
parent33d4eae5a6df8aaf6757f52ae25f514ff1211c62 (diff)
New upstream version 1.25.4.upstream/1.25.4
Diffstat (limited to 'gallery_dl/extractor/urlshortener.py')
-rw-r--r--gallery_dl/extractor/urlshortener.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/urlshortener.py b/gallery_dl/extractor/urlshortener.py
index 1a39b5b..972b508 100644
--- a/gallery_dl/extractor/urlshortener.py
+++ b/gallery_dl/extractor/urlshortener.py
@@ -34,7 +34,7 @@ BASE_PATTERN = UrlshortenerExtractor.update(INSTANCES)
class UrlshortenerLinkExtractor(UrlshortenerExtractor):
"""Extractor for general-purpose URL shorteners"""
subcategory = "link"
- pattern = BASE_PATTERN + r"/([^/?&#]+)"
+ pattern = BASE_PATTERN + r"/([^/?#]+)"
test = (
("https://bit.ly/3cWIUgq", {
"count": 1,