网络爬虫
文章平均质量分 86
山外青山楼外你
加油加油加加油!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
网络爬虫之urllib库详解
网络爬虫之urilb库原创 2022-07-15 09:52:20 · 1505 阅读 · 1 评论 -
网络爬虫-BeautifulSoup库
** 网络爬虫-BeautifulSoup库** Beautifulsoup的安装 pip install beautifulsoup4 Beautiful Soup库,也叫beautifulsoup4 或 bs4 约定引用方式如下,即主要是用BeautifulSoup 类 from bs4 import BeautifulSoup soup = BeautifulSoup('<p>data</p>', 'html.parser')` Beautiful Soup库的基本元素原创 2021-08-08 21:39:19 · 255 阅读 · 0 评论 -
网络爬虫学习-Ruquests
** 网络爬虫学习** Requests库学习 pip install requests:下载requests库 基础使用 `import requests def gethttp(url): try: r=requests.get(url)# get()方法获取网页内容 r.encoding='utf-8' return r.text except: return 'error' url="http://wwww.原创 2021-08-07 23:58:39 · 388 阅读 · 0 评论
分享