diff options
| author | 2023-12-25 01:27:47 -0500 | |
|---|---|---|
| committer | 2023-12-25 01:27:47 -0500 | |
| commit | 4d7a4f1ecef2c96269f3590335d2834ebcdd50bf (patch) | |
| tree | c66c0b829ed69c7424befddc193eaa51054b1410 /gallery_dl/extractor/reddit.py | |
| parent | 30dee4697019389ef29458b2e3931adc976389b2 (diff) | |
New upstream version 1.26.5.upstream/1.26.5
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 feb6d1f..2ef0f9f 100644 --- a/gallery_dl/extractor/reddit.py +++ b/gallery_dl/extractor/reddit.py @@ -159,7 +159,7 @@ class RedditExtractor(Extractor): data = meta[item["media_id"]] if data["status"] != "valid" or "s" not in data: self.log.warning( - "gallery %s: skipping item %s ('status: %s')", + "gallery %s: skipping item %s (status: %s)", submission["id"], item["media_id"], data.get("status")) continue src = data["s"] @@ -531,7 +531,7 @@ class RedditAPI(): return util.bdecode(sid, "0123456789abcdefghijklmnopqrstuvwxyz") -@cache(maxage=100*365*24*3600, keyarg=0) +@cache(maxage=36500*86400, keyarg=0) def _refresh_token_cache(token): if token and token[0] == "#": return None |
