![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬虫
我爱吃肉肉
这个作者很懒,什么都没留下…
展开
-
使用BeautifulSoup爬取图片入门篇
首先简单分析可知,page后面为当前页码。 图片url的属性为 "data-src" <img data-src="https://www.gifjia.com/wp-content/uploads/2019/10/15715434672091492-220x150.jpg" alt="甜到你心头白嫩美肤小姐姐板医生 用饱满山峰诠释萌系姐姐们!-GIF发源地" src="https...原创 2019-10-20 23:00:36 · 2763 阅读 · 2 评论 -
BeautifulSoup入门001
1、下载安装BeautifulSoup: pip install BeautifulSoup 2、使用 import requests r=requests.get("https://python123.io/ws/demo.html") data=r.text # 引入BeautifulSoup from bs4 import BeautifulSoup soup=Beau...原创 2019-10-18 20:35:17 · 79 阅读 · 0 评论