![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
初学爬虫
文章平均质量分 74
weixin_43602233
这个作者很懒,什么都没留下…
展开
-
第六周学习内容总结(爬虫复习,js基础)
第六周学习内容总结(爬虫复习,js基础) 使用第三方服务进行验证码自动识别 使用超级鹰进行验证码识别自动登录b站,并且获取当日排行榜前一百 import io import time import xlwt from PIL import Image from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.support.wait import WebDrive原创 2021-01-16 13:35:09 · 118 阅读 · 0 评论 -
第五周学习总结(爬虫基础)
第五周学习总结(爬虫基础) 简单爬虫 爬虫能让我们轻松、高效地获取网页上的数据,但写好一个爬虫并不是一件可以一蹴而就的事,现在来介绍一个简单爬虫的写法。 获取页面:resp = request.get(url) 这样就可以得到网页中的resp.text数据,下面是代码示例 import requests resp = requests.get('https://sohu.com/') print(resp.status_code) # 获取响应码 200则表示成功 print(resp.text) # 打原创 2021-01-09 16:12:01 · 165 阅读 · 0 评论