Python Web Scraping in Practice (2nd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 零基础或刚学完 Python 语法、想找一个完整练手方向的自学者
- 需要快速判断「什么任务用哪个爬虫工具」的初级开发者
- 高校计算机、软件工程、数据科学专业开设爬虫课程的学生与教师
- 做数据采集、需要了解模拟登录与反爬应对思路的数据分析从业者
Not a good fit for
- 已有多年爬虫经验、希望学习分布式、异步高性能架构的资深工程师
- 只想复制可直接上线代码、不愿自行调试和更新依赖的读者
- 完全没接触过 Python、需要系统语法教材的纯零基础读者
Reading tips
- 先按第1、2章把 Python 3 环境和 pip 装好,亲手跑通 hello world 再往下读,不要跳过环境配置。
- 第3章的小脚本建议全部手敲一遍,比复制粘贴更能建立语法和调试手感。
- 读第5至9章时,按自己的目标站点选一个工具深入实践,不必五种全学,其余快速浏览作对照。
- 遇到 PhantomJS、Pyspider 等已停止维护的依赖,优先把思路迁移到 Playwright 或新版 Scrapy,并补充阅读目标网站的使用条款与 robots 协议。
About the publisher
Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.
Contents
- Chapter 1 Configuring the Python Environment
- Chapter 2 Python Fundamentals
- Chapter 3 Simple Python Scripts
- Chapter 4 Common Modules for Python Scrapers
- Chapter 5 The Scrapy Framework
- Chapter 6 Beautiful Soup Scrapers
- Chapter 7 Simulating Browsers with Mechanize
- Chapter 8 Simulating Browsers with Selenium
- Chapter 9 The Pyspider Framework
- Chapter 10 Scrapers and Anti-Scraping
- About the Author
FAQ
这本书第2版和第1版有什么区别?
同名书有好几本,该怎么区分?
零基础能看懂这本书吗?
书里的代码现在还能跑通吗?
豆瓣评分只有6.7,值得买吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Hu Songtao is an author about whom limited public information is available; the existing records show only one work by him, Leizu. The book is classified under the category of otherworldly continents, indicating that his writing leans toward fantasy and unfolds against a fictional, non-realistic world. Such fiction usually involves world settings, group relations, and adventure threads different from those of the real world, while the title Leizu borrows the name of a figure from ancient Chinese legend, giving the work a certain traditional cultural flavor within a fantasy framework. Because reliable records of Hu Songtao's life, writing career, and other works are currently lacking, no fuller judgment can be made about how his style took shape or about his overall output. Judging from this single work in the database, the author seems inclined to combine native legendary elements with the otherworldly fantasy genre, and readers interested in such themes may take Leizu as an entry point for understanding his writing orientation.