![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python爬虫
迪士尼在逃白学公主
这个作者很懒,什么都没留下…
展开
-
python爬虫实战二:爬取网站表情包
还在担心找不到适合的表情包怼人吗?还在为自己找不到搞笑的表情包而烦恼吗?教你用python快速爬取网站表情包!网站链接:https://fabiaoqing.com/biaoqing/lists/page/%7Bpage%7D.html爬虫代码:#-*- coding:UTF-8 -*-import osfrom time import timeimport requestsfrom bs4 import BeautifulSoupfrom queue import Queuefrom原创 2021-01-21 20:03:18 · 379 阅读 · 1 评论 -
python爬虫实战一:爬取网页新闻内容
初学python爬虫时的实战案例网页界面:爬虫代码:import requestsfrom bs4 import BeautifulSoupres =requests.get('https://k.sina.com.cn/article_6192937794_17120bb42020015u42.html?from=health')res.encoding='utf-8'soup=BeautifulSoup(res.text, 'html.parser') title=soup.sele原创 2021-01-21 19:10:42 · 717 阅读 · 0 评论