python-spider README

The project's README from github.com/Jack-Cherish/python-spider. As one markdown file: README.md.

注:2020年最新连载教程请移步:Python Spider 2020

免责声明:

大家请以学习为目的使用本仓库,爬虫违法违规的案件:https://github.com/HiddenStrawberry/Crawler_Illegal_Cases_In_China

本仓库的所有内容仅供学习和参考之用,禁止用于商业用途。任何人或组织不得将本仓库的内容用于非法用途或侵犯他人合法权益。本仓库所涉及的爬虫技术仅用于学习和研究,不得用于对其他平台进行大规模爬虫或其他非法行为。对于因使用本仓库内容而引起的任何法律责任,本仓库不承担任何责任。使用本仓库的内容即表示您同意本免责声明的所有条款和条件。

Python Spider

原创文章每周最少两篇,后续最新文章会在【公众号】首发,视频【B站】首发,大家可以加我【微信】进交流群,技术交流或提意见都可以,欢迎Star!

微信群 公众号 B站 知乎 CSDN 头条 掘金

声明

目录

爬虫小工具

爬虫实战

其它

更多精彩,敬请期待!

wechat

python-spider (Jack-Cherish/python-spider)

Searching Database…

What is this?A collection of real-world Python web scraping projects, each targeting a specific Chinese site or app: Taobao, JD, NetEase Music, Bilibili, 12306 train tickets, Douyin, novel sites, manga sites and more.
Is this a single tool or a bunch of separate scripts?It is a set of standalone scripts and small projects, one per target site (e.g. biqukan.py, douyin.py, bilibili.py, jd.py), not a unified framework or library.
How do I run one of these scrapers?Pick the script for the site you want (e.g. python biqukan.py, python bilibili.py -d cat -k cat -p 10, python jd.py -k mango), install any listed third-party deps, and run it directly.
What do I need installed before trying these scripts?Mostly requests and beautifulsoup4 (pip3 install beautifulsoup4 / pip3 install requests beautifulsoup4); some subprojects like zhengfangsystemspider have their own requirements.txt.
Are these scrapers guaranteed to keep working?No — they scrape live third-party sites/apps and rely on their current structure or APIs, so breakage over time is likely; some scripts (like baiduwenku.py) are explicitly noted as incomplete and not generalizable.
Who is this aimed at?Beginners and learners wanting hands-on examples of Python web scraping techniques, from simple static-site scraping to app API reverse engineering.
What does the Douyin downloader actually do?It downloads videos from the Douyin app; later versions add watermark-free download by parsing video URLs directly instead of relying on a third-party parsing site.
Can I download music or video content with this?Yes — there are scripts to batch-download NetEase Cloud Music tracks from a playlist file and to batch-download Bilibili videos plus their danmaku (comment overlay) files.
Is there a tool for building a proxy IP pool?Yes, daili.py builds a pool of proxy IPs that can be reused by other scrapers in the repo to avoid getting blocked.
Does it include anything for 12306 train ticket grabbing?Yes, 12306.py is a simple script for grabbing train tickets that can be extended further, aimed at people with some scraping background.
Size
1.2 MB
Stars
19.8K
Updated
CommitAug 19
Age
9y
Commits · 90 Days