aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/formatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/formatter.py')
-rw-r--r--gallery_dl/formatter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gallery_dl/formatter.py b/gallery_dl/formatter.py
index 7a49049..b09203f 100644
--- a/gallery_dl/formatter.py
+++ b/gallery_dl/formatter.py
@@ -565,6 +565,7 @@ _CONVERSIONS = {
"U": text.unescape,
"H": lambda s: text.unescape(text.remove_html(s)),
"g": text.slugify,
+ "R": text.re(r"https?://[^\s\"']+").findall,
"W": text.sanitize_whitespace,
"S": util.to_string,
"s": str,