hyisangie

2021年8月16日 #

爬虫反爬之cookie

摘要: 携带cookie的两种方式 直接将cookie放在请求头headers中一起作为参数 import requests url = 'xxxxxx' headers_ = { 'User-Agent': 'xxxxxxx', 'Cookie': 'xxxxx' } res_ = requests.ge 阅读全文

posted @ 2021-08-16 20:12 hyisangie 阅读(189) 评论(0) 推荐(0) 编辑

导航