Skip to content

examples-of-web-crawlers

A collection of beginner-friendly Python web crawler examples for several Chinese websites.

Stars
14.7k
Forks
3.8k
Licence
MIT
Language
HTML
Last update
1.4 years ago
Type
Learning resource

No commits in over a year — check for forks or alternatives before adopting.

What it is

This is a set of Python scripts that show how to collect data from websites such as Taobao, Tmall, WeChat, Douban and QQ. According to its description, the examples are meant to be friendly to beginners. The README was empty in the provided material, so the exact contents of each example could not be verified.

  • Study how a Python script fetches and parses pages from a shopping or social site
  • Learn Selenium-based browser automation for pages that load content dynamically
  • Explore multithreaded crawling patterns as a starting point for your own projects

Great for

  • Beginners who want to see working examples of web scraping in Python
  • Students learning how crawlers, Selenium or PyQuery are used in practice
  • Developers who want a reference for scraping Chinese websites

Not ideal for

  • Anyone needing a production-ready scraping system, since the README was not available to confirm robustness or maintenance
  • People who need to scrape sites outside the ones listed, since coverage beyond the description is unverified
  • Users who need guidance on legal or terms-of-service compliance, which is not addressed in the provided material
Step-by-step guide: how to use examples-of-web-crawlersInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Clone and build from source

    You'll need: Python 3 · Git

    Clone the repository

    git clone https://github.com/shengqiangzhang/examples-of-web-crawlers
  2. 2

    Run it

    • Clone the repository to your computer
    • Open the folder and look for the example you are interested in
    • Read the code in that example's file or folder before running it
    • Install any libraries it imports, such as Selenium or PyQuery, and run it
  3. 3

    Get the most out of it

    • Start with one example and modify the target selectors to learn how parsing works
    • Compare the Selenium-based examples with the plain request-based ones to see the trade-offs
    • Check the repository topics for related areas such as agent pools and multithreading to explore further

Downloads

Strengths

  • Described as beginner-friendly examples in Python
  • Covers several different websites as separate examples
  • Released under the MIT license, which permits reuse with attribution

Trade-offs

  • The README content was not available, so setup and usage details are unknown
  • Examples target specific sites that may have changed since the code was written
  • Scraping sites may conflict with their terms of service; check before running

How it compares

ProjectStarsTypeLevelUpdatedBest for
examples-of-web-crawlers (this)14.7kLearning resourcebeginner1.4 years agoBeginners who want to see working examples of web scraping in Python
proxy_pool23.8kAppintermediate5 months agoDevelopers building web scrapers who want to experiment with rotating proxies
spider-flow11.4kAppintermediate3.4 years agoNon-programmers who need to collect data from websites and prefer visual flow definitions
akshare23.2kLibrarybeginner4 days agoPython users doing academic or personal research on Chinese financial markets
newspaper15.2kLibraryintermediate11 days agoPython developers building news aggregation or article collection scripts
requests-html13.8kLibrarybeginner2.6 years agoPython developers who already use requests and want to parse HTML in the same style

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.