项目地址
- https://github.com/markadc/wauo.git
- 持续更新中…
演示
python"># -*- coding: utf-8 -*-from wauo import WauoSpider, Responses = WauoSpider(default_headers={'Cookie': 'Your Cookies'})
url = 'https://www.baidu.com'
resp: Response = s.send(url)print(resp)
print(resp.request.headers['Cookie']) # 输出:Your Cookiestitle = resp.get_one('//title/text()')
print(title) # 输出:百度一下,你就知道