Skip to content

Commit

Permalink
Fix: add language tag to seemh
Browse files Browse the repository at this point in the history
  • Loading branch information
eight04 committed Nov 13, 2024
1 parent b6ae8a5 commit 03eed5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions comiccrawler/mods/seemh.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"www.manhuagui.com": 3,
"tw.manhuagui.com": 3
}
header = {
"Accept-Language": "zh-tw,zh;q=0.8,en-us;q=0.5,en;q=0.3",
}

class LZString:
def __init__(self):
Expand Down
2 changes: 1 addition & 1 deletion comiccrawler/session_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

default_header = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0",
"Accept-Language": "zh-tw,zh;q=0.8,en-us;q=0.5,en;q=0.3",
# "Accept-Language": "zh-tw,zh;q=0.8,en-us;q=0.5,en;q=0.3",
# "Accept-Encoding": "gzip, deflate"
}

Expand Down

0 comments on commit 03eed5f

Please sign in to comment.