You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jyhl
743a90d301
|
5 years ago | |
---|---|---|
README.md | 5 years ago | |
requirements.dev.txt | 5 years ago | |
requirements.txt | 5 years ago | |
selenium_demo.py | 5 years ago | |
useragents.txt | 5 years ago |
README.md
通过无头浏览器获取cookie
DEMO代码以新浪微博,m.weibo.cn为实例
安装
pip3 install -r requirements.txt
安装chrome并下载对应版本的chrome deriver
下载chrome https://www.google.com/chrome/
下载对应版本 driver https://chromedriver.chromium.org/downloads
运行
python selenium_demo.py