![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python学习
一个喜欢写 代码的小龙龙
喜欢写代码的小龙龙
展开
-
chengxu
清洗数据原创 2022-01-11 12:57:44 · 183 阅读 · 0 评论 -
python爬取携程
from bs4 import BeautifulSoupimport requestsurl = “https://hotels.ctrip.com/hotel/suzhou14”headers={‘User-Agent’: ‘Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chro...原创 2019-05-24 16:30:12 · 1205 阅读 · 0 评论 -
python爬取京东手机数据
import requestsfrom bs4 import BeautifulSoup(导入库)url= ’ https://search.jd.com/Search?keyword=手机&enc=utf-8&wq=手机&pvid=52e64196617245969a2a0d3fc2110475’headers ={‘User-Agent’: ‘Mozilla/5...原创 2019-05-24 17:20:11 · 2197 阅读 · 0 评论