爬虫
weixin_39159012
这个作者很懒,什么都没留下…
展开
-
python + selenium爬取品牌信息
学习爬虫,走了很多弯路,记录下python+selenium的测试,直接上代码#encoding=utf-8from selenium.webdriver import Chromefrom bs4 import BeautifulSoup driver = Chrome("C:\Program Files (x86)\Google\Chrome\Application\chromedri...原创 2019-09-10 16:21:10 · 282 阅读 · 0 评论 -
python+xpath爬取苏宁商品品类
学习爬虫实战二#encoding=utf-8from lxml import etreeimport requests"""爬取苏宁上的家具第一层:爬取大分类1.总入口:https://list.suning.com/?safp=d488778a.46601.0.4786e76351链接:/html/body/div[5]/div[2]/div[1]/div/div[@class...原创 2019-09-10 16:27:03 · 429 阅读 · 0 评论