Use pyppeteer to Browse the URL andProcess the Response
Python3.7+
git clone git@github.com:Loveforkeeps/PyppeteerBrowser.git
demo:
browserpath = '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
with open('2020-08-01.txt') as f:
urls = f.read().splitlines()
pb = PyppeteerBrowser(urls,maxtab=20,browserpath=browserpath,timeout=1000*10)
# pb.process_page = parse_resp
pb.screenshot = True
# pb.headless_dis()
pb.launch()
- None
- None
- None
╰─ python PyppeteerBrowser.py
This project is licensed under the MIT license
- None