import requests


headers = {
    "authority": "www.zhipin.com",
    "accept": "application/json, text/plain, */*",
    "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh;q=0.7,ru;q=0.6",
    "cache-control": "no-cache",
    "pragma": "no-cache",
    "referer": "https://www.zhipin.com/web/geek/job?query=&city=101010100&position=100101",
    "sec-ch-ua": "\"Not.A/Brand\";v=\"8\", \"Chromium\";v=\"114\", \"Google Chrome\";v=\"114\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"macOS\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
    "x-requested-with": "XMLHttpRequest"
}
cookies = {
    "wd_guid": "44cb66dd-9bfe-48b1-a6e2-0ebac1e3bf9c",
    "historyState": "state",
    "__g": "-",
    "_bl_uid": "C8lOqq1R9R3b9pa38rFFnz39aaey",
    "Hm_lvt_194df3105ad7148dcf2b98a91b5e727a": "1702806961",
    "Hm_lpvt_194df3105ad7148dcf2b98a91b5e727a": "1702806961",
    # "__zp_stoken__": "cffffMjzDkMKwZsKxMSEIAQAODzsnNTwmBz8yKD43OzI8MDU5Mjw4FzciG8KAw7vCtV7Diws3JTI8PzcwPDwwOhUyMMS2wrAxMyYmwofDvMK3UMOHVcKZwrUPwqrCsAMqB8ONwrc3PSgiwo%2FCsTU7PzAPwrE7wrnDo8KyNcK1w7nCtTfCuzs3MCgvP1wECAM%2FN0NGUAlFX0daU0kCTkxCJTA8Mzx6YsO3KT4ABwACDAcABwULBwAHDAILDAsJBwAHAAIMKDfCk8K1wprDmcSBwoHDuMSdwpbCs8KNasKVwqPCk0PCjsKvwq5MwptrRsKlwqRfRlBaQMKUwrvCvVBMwr5Owr%2FCuMK1SMKyYsKwwqJMZklWal5OAVlcX14%2FDwPCvsOA",
    "__zp_stoken__":   "cffffJyTCi8KwwoXCtjomCAMGBQg7JTM3IWc9NCMwPDUzNzU+NTwRMCcJwrXDmsOjwrJew4M4NyI1NDgwNzw0NzowMjjEscKwNjMvPsK2w5rDpsKxW8OAVcKbwrNVwq3CsAksVcOKwrcpOyMlMDEDD1QPMUBBVQJHXEBfWEsBSUlJJ0BBVQJHXEBfWEsBSUlJJzMwMDBWwqDDsB41AgQHBwcFAwAAAAUDAAAACA8NDQ0CBAcHByo0wqzCsE7Dm8SCwobDvcSWwpTCsMKKb8KewqHCkETCi8KkwqxPwpxuTcKnwqdYQ1tYQ8KTwr7CtlJPwrlLwrTCusK2T8K3acKywqFLY0JUaVlLCltfWFs0DWLDt8OA"
                       ,
    "__c": "1702806960",
    "__a": "57164100.1702806960..1702806960.2.1.2.2"
}
url = "https://www.zhipin.com/wapi/zpgeek/search/joblist.json"
params = {
    "scene": "1",
    "query": "",
    "city": "101010100",
    "experience": "",
    "payType": "",
    "partTime": "",
    "degree": "",
    "industry": "",
    "scale": "",
    "stage": "",
    "position": "100101",
    "jobType": "",
    "salary": "",
    "multiBusinessDistrict": "",
    "multiSubway": "",
    "page": "1",
    "pageSize": "30"
}
response = requests.get(url, headers=headers, cookies=cookies, params=params)

print(response.text)
print(response)