mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
29ed0821dd
1 changed files with 4 additions and 6 deletions
|
|
@ -10,9 +10,8 @@ index_url = 'https://www.wenku8.net/index.php'
|
|||
|
||||
headers = {
|
||||
'Accept-Language': 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',
|
||||
'Connection': 'keep-alive',
|
||||
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0',
|
||||
'Upgrade-Insecure-Requests': '1'
|
||||
'Connection': 'close',
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.41',
|
||||
}
|
||||
|
||||
# 登录表单数据
|
||||
|
|
@ -51,9 +50,8 @@ async def get_books():
|
|||
with open('wenku8.cookie', 'r') as f:
|
||||
cookie = f.read()
|
||||
headers1 = {
|
||||
'Connection': 'keep-alive',
|
||||
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
|
||||
'Upgrade-Insecure-Requests': '1',
|
||||
'Connection': 'close',
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.41',
|
||||
'Cookie': cookie
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue