summaryrefslogtreecommitdiffstats
path: root/gallery_dl/path.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/path.py')
-rw-r--r--gallery_dl/path.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gallery_dl/path.py b/gallery_dl/path.py
index a14562a..71927a5 100644
--- a/gallery_dl/path.py
+++ b/gallery_dl/path.py
@@ -98,6 +98,8 @@ class PathFormat():
restrict = "\\\\|/<>:\"?*"
elif restrict == "ascii":
restrict = "^0-9A-Za-z_."
+ elif restrict == "ascii+":
+ restrict = "^0-9@-[\\]-{ #-)+-.;=!}~"
self.clean_segment = self._build_cleanfunc(restrict, replace)
remove = config("path-remove", "\x00-\x1f\x7f")