diff options
| author | 2024-10-14 03:02:05 -0400 | |
|---|---|---|
| committer | 2024-10-14 03:02:05 -0400 | |
| commit | 0db541f524e1774865efebcbe5653e9ad76ea2e8 (patch) | |
| tree | b0fc6ce19628931f61c43f2dc9ebfd88a4332388 /gallery_dl/extractor/8chan.py | |
| parent | 1a457ed68769880ab7760e0746f0cbbd9ca00487 (diff) | |
New upstream version 1.27.6.upstream/1.27.6
Diffstat (limited to 'gallery_dl/extractor/8chan.py')
| -rw-r--r-- | gallery_dl/extractor/8chan.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gallery_dl/extractor/8chan.py b/gallery_dl/extractor/8chan.py index afa3a69..f81d2a1 100644 --- a/gallery_dl/extractor/8chan.py +++ b/gallery_dl/extractor/8chan.py @@ -29,8 +29,10 @@ class _8chanExtractor(Extractor): def _init(self): now = util.datetime_utcnow() domain = self.root.rpartition("/")[2] - self.cookies.set("TOS20240928", "1", domain=domain) - self.cookies.set(now.strftime("TOS%Y%m%d"), "1", domain=domain) + self.cookies.set( + now.strftime("TOS%Y%m%d"), "1", domain=domain) + self.cookies.set( + (now - timedelta(1)).strftime("TOS%Y%m%d"), "1", domain=domain) @memcache() def cookies_prepare(self): |
