aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/urlshortener.py
diff options
context:
space:
mode:
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 7a9269d..0056d1b 100644
--- a/gallery_dl/extractor/urlshortener.py
+++ b/gallery_dl/extractor/urlshortener.py
@@ -32,7 +32,7 @@ BASE_PATTERN = UrlshortenerExtractor.update({
class UrlshortenerLinkExtractor(UrlshortenerExtractor):
"""Extractor for general-purpose URL shorteners"""
subcategory = "link"
- pattern = BASE_PATTERN + r"(/[^/?#]+)"
+ pattern = rf"{BASE_PATTERN}(/[^/?#]+)"
example = "https://bit.ly/abcde"
def items(self):