랭킹으로 돌아가기
Async Python 3.6+ web scraping micro-framework based on asyncio
asyncioaiohttpasyncio-spidercrawlercrawling-frameworkspideruvloopruiapython-ruiamiddlewarespython
주요 지표
스타 성장
스타
1.7k
포크
186
주간 성장
—
이슈
8
5001k1.5k
2023년 1월2023년 8월2024년 3월2024년 10월2025년 5월2025년 12월2026년 7월
아티팩트PyPI
pip install ruiaREADME
Ruia
🕸️ Async Python 3.6+ web scraping micro-framework based on asyncio.
⚡ Write less, run faster.

Overview
Ruia is an async web scraping micro-framework, written with asyncio and aiohttp,
aims to make crawling url as convenient as possible.
Write less, run faster:
- Documentation: 中文文档 |documentation
- Organization: python-ruia
- Plugin: awesome-ruia(Any contributions you make are greatly appreciated!)
Features
- Easy: Declarative programming
- Fast: Powered by asyncio
- Extensible: Middlewares and plugins
- Powerful: JavaScript support
Installation
# For Linux & Mac
pip install -U ruia[uvloop]
# For Windows
pip install -U ruia
# New features
pip install git+https://github.com/howie6879/ruia
Tutorials
- Overview
- Installation
- Define Data Items
- Spider Control
- Request & Response
- Customize Middleware
- Write a Plugins
TODO
- Cache for debug, to decreasing request limitation, ruia-cache
- Provide an easy way to debug the script, ruia-shell
- Distributed crawling/scraping
Contribution
Ruia is still under developing, feel free to open issues and pull requests:
- Report or fix bugs
- Require or publish plugins
- Write or fix documentation
- Add test cases
!!!Notice: We use black to format the code.
Thanks
관련 저장소