Skip to content

蚂蚁学Python

你有没有为写代码拼过命?那你知不知道 人生苦短,我用Python?

  • 视频课程
  • 关于我

爬虫

Categories 爬虫

怎么通过谷歌浏览器查看

2023-08-14 Leave a comment by crazyant

1、谷歌浏览器点检查 在任意页面,比如:https://book.douban.com/ 鼠标右键,点检查 2 … Read more 怎么通过谷歌浏览器查看


Categories 爬虫

Python的open函数报错’gbk’ codec can’t decode byte

2023-08-09 Leave a comment by crazyant

报错信息 代码如下: with open("./test.html") as fin: h … Read more Python的open函数报错’gbk’ codec can’t decode byte


Categories 爬虫

selenium的各个浏览器的webdriver的下载地址

2023-04-12 Leave a comment by crazyant

链接 https://www.selenium.dev/documentation/webdriver/get … Read more selenium的各个浏览器的webdriver的下载地址


Categories 爬虫

Http协议和Python Requests库

2023-03-212023-03-21 Leave a comment by crazyant

HTTP协议 请求 请求的数据 URL URL的参数,比如http://httpbin.org/get?key … Read more Http协议和Python Requests库


Categories 爬虫

豆瓣电影爬虫需要加上UserAgent的Headers

2023-03-18 Leave a comment by crazyant

问题 豆瓣网站进行了升级,如果爬取的时候不加UserAgent的Headers,会返回爬取错误的装填。 解决方 … Read more 豆瓣电影爬虫需要加上UserAgent的Headers


Categories 爬虫

lxml.etree, element.text doesn’t return the entire text from an element

2023-03-082023-02-22 Leave a comment by crazyant

Use element.xpath("string()") or lxml.etree.t … Read more lxml.etree, element.text doesn’t return the entire text from an element


Categories 爬虫

Python爬虫之伪表头pseudo headers

2023-02-14 Leave a comment by crazyant

遇到问题,在爬取这个网站的时候: https://www.biququ.com/html/21627/ 发现了 … Read more Python爬虫之伪表头pseudo headers


Categories 爬虫

中国最常见的50个人名

2023-03-122021-07-03 by crazyant

张伟 王伟 王芳 李伟 王秀英 李秀英 李娜 张秀英 刘伟 张敏 李静 张丽 王静 王丽 李强 张静 李敏 王 … Read more 中国最常见的50个人名


Post navigation
Older posts
1 2 3 Next →

文章分类

  • C++ (8)
  • chatgpt (2)
  • django (13)
  • flask (9)
  • hadoop (5)
  • hive (14)
  • java (20)
  • javascript (1)
  • kafka (1)
  • linux (17)
  • mac (2)
  • mysql (23)
  • numpy (1)
  • paddlepaddle (1)
  • pandas (37)
  • php (39)
  • pyecharts (1)
  • python (31)
  • python环境 (16)
  • python趣味小程序 (3)
  • redis (4)
  • sklearn (1)
  • spark (6)
  • tensorflow (3)
  • zookeeper (1)
  • 产品想法 (1)
  • 创业项目 (1)
  • 办公自动化 (8)
  • 推荐系统 (6)
  • 数据科学 (1)
  • 数据结构与算法 (1)
  • 机器学习 (4)
  • 爬虫 (19)
  • 程序人生 (25)
  • 程序员自媒体 (12)
  • 腾讯课堂 (1)
  • 自动化测试 (1)
  • 读书心得 (8)
  • 软件工具 (7)
  • 量化投资 (6)
© 2023 蚂蚁学Python • Theme Xena