mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-12 11:37:09 +08:00
请求地址改版
This commit is contained in:
parent
d1bd4e2fcf
commit
319da99718
@ -3,14 +3,14 @@ import re
|
||||
import json
|
||||
|
||||
|
||||
url = "https://match.yuanrenxue.com/match/13"
|
||||
url_page = "https://match.yuanrenxue.com/api/match/13?page={}"
|
||||
url_login_info = "https://match.yuanrenxue.com/api/loginInfo"
|
||||
url = "https://match.yuanrenxue.cn/match/13"
|
||||
url_page = "https://match.yuanrenxue.cn/api/match/13?page={}"
|
||||
url_login_info = "https://match.yuanrenxue.cn/api/loginInfo"
|
||||
|
||||
|
||||
def get_cookie():
|
||||
Headers = {
|
||||
"cookie": f"sessionid=qrpjppp8jlv9y6w46ue7kewvjlnac11y;",
|
||||
"cookie": f"sessionid=xxxxxxx;",
|
||||
}
|
||||
res = requests.get(url=url, headers=Headers)
|
||||
item = re.findall(r'document.cookie=(.*);path=', res.text)[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user