Skip to content

Commit

Permalink
[8chan] update 'TOS' cookie name (#5868)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jul 20, 2024
1 parent fef80a2 commit a595949
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gallery_dl/extractor/8chan.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def __init__(self, match):
Extractor.__init__(self, match)

def _init(self):
self.cookies.set("TOS", "1", domain=self.root.rpartition("/")[2])
self.cookies.set(
"TOS20240718", "1", domain=self.root.rpartition("/")[2])

@memcache()
def cookies_prepare(self):
Expand Down

0 comments on commit a595949

Please sign in to comment.