adjust format strings with optional titles

... except for anything manga/comic related
This commit is contained in:
Mike Fährmann
2017-09-28 18:00:19 +02:00
parent c1f0afe4c6
commit 82ea6c0cd3
3 changed files with 6 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ class ChanThreadExtractor(Extractor):
"""Base class for extractors for Futaba Channel-like boards"""
category = "chan"
subcategory = "thread"
directory_fmt = ["{category}", "{board}-{thread}"]
directory_fmt = ["{category}", "{board}", "{thread} - {title}"]
filename_fmt = "{tim}-{filename}{ext}"
api_url = ""
file_url = ""
@@ -67,7 +67,7 @@ class FoolfuukaThreadExtractor(SharedConfigExtractor):
basecategory = "foolfuuka"
subcategory = "thread"
directory_fmt = ["{category}", "{board[shortname]}",
"{thread_num} - {title}"]
"{thread_num}{title:? - //}"]
filename_fmt = "{media[media]}"
root = ""
referer = True