diff --git a/gallery_dl/extractor/xenforo.py b/gallery_dl/extractor/xenforo.py index f47e2541..53345e5b 100644 --- a/gallery_dl/extractor/xenforo.py +++ b/gallery_dl/extractor/xenforo.py @@ -18,7 +18,7 @@ class XenforoExtractor(BaseExtractor): basecategory = "xenforo" directory_fmt = ("{category}", "{thread[section]}", "{thread[title]} ({thread[id]})") - filename_fmt = "{post[id]}_{num:>02}_{id}_{filename}.{extension}" + filename_fmt = "{post[id]}_{num:>02}{id:?_//}_{filename}.{extension}" archive_fmt = "{post[id]}/{type[0]}{id}_{filename}" def __init__(self, match): @@ -34,8 +34,8 @@ class XenforoExtractor(BaseExtractor): r'