python爬虫
2020-02-11
2020-02-11
requests(静态html/json)
参数设置
cookies
headers
headers = { |
selenium + phantomjs(js渲染)
安装
sudo apt install phantomjs |
beautifulSoup4 + lxml(处理html文本)
python3 -m pip install beautifulSoup4 |