diff options
| author | 2020-07-20 01:03:23 -0400 | |
|---|---|---|
| committer | 2020-07-20 01:03:23 -0400 | |
| commit | ba039cfb2e1ba2522ee0a0fa2a84a1a6579e4877 (patch) | |
| tree | 2e057b8e83968c7ab951b1b60aa16b71682f5414 /gallery_dl/extractor/reddit.py | |
| parent | 02dd2886783cd303cff6890a741152d013bb00ce (diff) | |
New upstream version 1.14.3.upstream/1.14.3
Diffstat (limited to 'gallery_dl/extractor/reddit.py')
| -rw-r--r-- | gallery_dl/extractor/reddit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/reddit.py b/gallery_dl/extractor/reddit.py index 6331b77..679059c 100644 --- a/gallery_dl/extractor/reddit.py +++ b/gallery_dl/extractor/reddit.py @@ -17,7 +17,7 @@ class RedditExtractor(Extractor): """Base class for reddit extractors""" category = "reddit" directory_fmt = ("{category}", "{subreddit}") - filename_fmt = "{id} {title[:242]}.{extension}" + filename_fmt = "{id} {title[:220]}.{extension}" archive_fmt = "{filename}" cookiedomain = None @@ -101,7 +101,7 @@ class RedditExtractor(Extractor): depth += 1 submissions = ( self.api.submission(sid) for sid in extra - if sid not in self._visited + if sid not in visited ) def submissions(self): |
