![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬虫呢
柚子咩
没有一个柚子解决不了的事情,如果有的话就两个。
展开
-
Python爬虫(一)--爬取猫眼Top100排行
1.概述 这是博主接触的第一个爬虫实例,利用python的request库和正则表达式对猫眼网站的Top100电影进行爬取,将结果打印出来并保存成txt文件。关键的部分有以下三点:python中request库的简单使用。 利用re模块来解析request到的页面。 json格式文件存储和读取方法。2.详细代码以及注释如下:# -*-coding:utf-8 -*-im...原创 2019-09-04 16:52:06 · 4481 阅读 · 2 评论 -
解决selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
话不多说,直接上方法:原来部分的代码为:username=self.wait.until(EC.presence_of_element_located((By.ID,'loginName')))password=self.wait.until(EC.presence_of_element_located((By.ID,'loginPassword')))submit=self.wai...原创 2019-09-09 19:53:14 · 15412 阅读 · 0 评论