summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/exhentai.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2020-01-09 22:31:29 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2020-01-09 22:31:29 -0500
commitbc435e826dbe37969d9cbe280f58810d054932cc (patch)
tree4c12d1bd5d5fdaa4f6a65c38c85dd8f0ecdadc6b /gallery_dl/extractor/exhentai.py
parentf9a1a9dcb7df977eeac9544786df9c0b93795815 (diff)
New upstream version 1.12.2upstream/1.12.2
Diffstat (limited to 'gallery_dl/extractor/exhentai.py')
-rw-r--r--gallery_dl/extractor/exhentai.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/exhentai.py b/gallery_dl/extractor/exhentai.py
index cba9627..6cc3abc 100644
--- a/gallery_dl/extractor/exhentai.py
+++ b/gallery_dl/extractor/exhentai.py
@@ -23,7 +23,7 @@ BASE_PATTERN = r"(?:https?://)?(e[x-]|g\.e-)hentai\.org"
class ExhentaiExtractor(Extractor):
"""Base class for exhentai extractors"""
category = "exhentai"
- directory_fmt = ("{category}", "{gallery_id} {title}")
+ directory_fmt = ("{category}", "{gallery_id} {title[:247]}")
filename_fmt = (
"{gallery_id}_{num:>04}_{image_token}_{filename}.{extension}")
archive_fmt = "{gallery_id}_{num}"