forked from jiankeguyue/zhihu_spider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
9 lines (7 loc) · 2.21 KB
/
config.py
1
2
3
4
5
6
7
8
9
# 打开网页之后按f12找到文件名一栏带有root_comment
# 查看消息头进行下列参数抓取
# 你的cookie值 [必填]
cookie = 'xsrf=cF2FyfD5slbj8E4gy1Tm2YKQvfFS480F; _zap=10e753e6-0a58-409e-9e80-7aa369f4e972; d_c0=ANDVIx6jTxiPTjsAyCZsGH0UYma1ch-t_8w=|1710441221; Hm_lvt_98beee57fd2ef70ccdd5ca52b9740c49=1710441222; gdxidpyhxdE=WpII5D5QN6k1tszW6JxzUrQ50qKbNXNcuIwnovy6w12zfu7%2BwJSxqKY2V1mnK%5C%2BO%2FlZW%2FGc8sxgx2EZq4HUe%2BbNPrhfEuVarN88iflmOydOX8ueEsU5PjgTfOMWfl7OJ0K0S%5Co8Ztq%2FIIGtbM0CegM7gcaEBrd3OBVSPZdpz2krH0JD6%3A1710442124250; __snaker__id=mhvPmaEjdPQ5pN3A; captcha_ticket_v2=2|1:0|10:1710441260|17:captcha_ticket_v2|728:eyJ2YWxpZGF0ZSI6IkNOMzFfSUlzSkJlNW56ZmtjQmhHWmdFTmpmOXZkbmFmMzlZUkJUWHVudFhFTkVJeDZYaEN5Kk9PWVNlYUNxNUQ1SXpRdERXLk9Mc2dJQ3VTZjM1UVJWKnhmbXlHKnFKMmZtd1RyNHR1MldwVW1sTVg0YVhud2tOT1l1LlBhdVF2RmJDcWVtdFZraWlHUUFxRkhscWRHdnFqS2E5cGpTWFg2VGcqMUFqaGQzWEZYOTRsZWkuWG95WFFjSTZUVnY5NHhqWVpZWGd4Vng2MUpSS2tRWWZUenFENjJLZjZWclVJY0xUVklHRGdkSjZkR0U4Zkc0VVhTbCo1ZXZjMnVQeDlQY3htbXguREtBam1ZX1dlTFNDbUt4TTlqM1JOUWczZEEwTF8xb0JWMFVIelZhSjJzNFdMcHkuaHoxVl90WTlKVFNyQlkuRTNUUVoyNVlPb1hPUFV6al9ab0lnbjluYUwxNGVVQzA1S0YwRllzalZyX1pHRHMyZ3JPTDZfZm52YjNLZkxoaUNkbENERjUwOW82Vyp4cFRubVF3VnNwdGtGUWNaaWgwYnIzNE5RUmZUR2ZZdkhhb1FGTVlfWnZZT1B3aFRCMXpHOTF2cU5jaG9FY2lxbWU1NUp0MExKWmwzX1NyV2tLdDZUZTE2Mkk5UWtEcGhLcFhzSkRVdkVQMlNUdXNYZzlWbi5sZ1g3N192X2lfMSJ9|16ebfa3ef7a8cad64e043b274e1112d5e4685648aace971fcccc1512a6fadf86; captcha_session_v2=2|1:0|10:1710441261|18:captcha_session_v2|88:aW9OZE9GQmVvVUdBdTFqaXJVT3lsNGtwdjkzWGx0Qzc0T2pSWC9aSjFrMUZCVVI0ZlBvV29GaFZ6ZjE5WGdzSw==|9bc9ae0edeb33bbc5719641b771a6d053817dfb250cbdbbc9e519b527980d829; o_act=login; ref_source=other_https://www.zhihu.com/signin?next=/; expire_in=15552000; q_c1=3de276e9c7424c3d9c666c2bb6010084|1710441281000|1710441281000; z_c0=2|1:0|10:1710441283|4:z_c0|92:Mi4xVV93SUJnQUFBQUFBME5VakhxTlBHQmNBQUFCZ0FsVk5RSkhnWmdEUUJrS0RKTVk4SzV3V1VscDV3UG9yLUtmQXpn|77eb6170cb4e8f0c8aa3a2ae606287070c5f1bc8f41adf9391f97d8aaa500bf1; tst=r; Hm_lpvt_98beee57fd2ef70ccdd5ca52b9740c49=1710441319; unlock_ticket=ADCCgVYwbgwXAAAAYAJVTW9K82X3rOHEmwnQG7StgxlCFB0_pZ7Q_Q==; KLBRSID=d017ffedd50a8c265f0e648afe355952|1710441399|1710441219'
# 反爬参数 [选填]
x_zse_93 = ''
x_zse_96 = ''