202104-07 详解用python实现爬取CSDN热门评论URL并存入redis 一、配置webdriver下载谷歌浏览器驱动,并配置好importtimeimportrandomfromPILimportImagefromseleniumimportwebdriverfromselenium.webdriver.common.byimportByfromselenium.webdriver.support.uiimportWebDriverWaitfromselenium.webdriver.supportimportexpected_conditionsasECif__name__=='__main__':options=webdriver.ChromeOptions()options.binary_location=r'C:\Users\hhh\AppData\Loca... 继续阅读 >