![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python爬虫
less_than_one
这个作者很懒,什么都没留下…
展开
-
python爬虫——老生常谈的豆瓣top250
用到的库以及用法介绍:1.requests http://2.python-requests.org/zh_CN/latest/user/quickstart.html以及https://www.jianshu.com/p/ecb4d54ad8cf2.beautifulsouphttps://www.cnblogs.com/hanmk/p/8724162.html3.sy...原创 2020-02-14 14:28:26 · 139 阅读 · 0 评论 -
最简单的python爬虫实战——爬取王者荣耀皮肤及头像
看到某公众号的一篇非常容易上手的爬虫实例,之前只是模拟登陆过,还没有爬取过数据或者文件,一直没怎么接触过json这个东西,发现也没有那么难上手,233333,总之是一次非常愉快的爬虫经历,简单又简洁的代码,就可以获取到所需要的信息。urllib库的用法:urllib.request.urlopen() #打开某网址urllib.request.urlrestrive(url,save_fil...原创 2018-04-11 00:24:19 · 3449 阅读 · 1 评论 -
python爬虫——爬取糗事百科笑话
贴一个很基础的爬取糗事百科笑话的爬虫,用到了selenium库。(来源:程序媛)#-*- coding: utf-8 -*-from selenium import webdriverimport timedriver = webdriver.Firefox() #打开浏览器 获取网址driver.get('https://www.qiushibaike.com/')time.sle...原创 2018-04-13 01:33:10 · 585 阅读 · 0 评论