基于selenium的python模拟登陆虎牙发送弹幕并截取主播头像
前提:需要下载谷歌浏览器驱动,版本需要一致,这个很重要,下载地址如下:http://chromedriver.storage.googleapis.com/index.htmlimport timeimport randomfrom PIL import Imagefrom selenium import webdriverdriver = webdriver.Chrome("../../chromedriver.exe")#指定谷歌驱动目录#请求网页driver.get('ht.
原创
2020-05-15 16:59:54 ·
1054 阅读 ·
4 评论