Crypto Exchange News Crawler 🚀
A powerful and easy-to-use Python package for scraping cryptocurrency exchange announcements from major exchanges.
🎯 Features
- Multi-Exchange Support: Scrape from 12 major crypto exchanges
- Multiple Output Formats: JSON, CSV, and XML support
- Structured Data: Clean, standardized output format
- Rate Limiting: Built-in delays to respect exchange servers
- Extensible: Easy to add new exchanges
📦 Installation Options
Option 1: Direct Usage
git clone https://github.com/lowweihong/crypto-exchange-news-crawler.git
cd crypto-exchange-news-crawler
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
playwright install
scrapy crawl bybit -o output.json
Option 2: Install from PyPI
pip install crypto-exchange-news-crawler
playwright install
## directly use proxy and uncomment DOWNLOADER_MIDDLEWARES
crypto-news crawl binance -o binance.json
crypto-news crawl bybit -s DOWNLOADER_MIDDLEWARES='{"crypto_exchange_news.middlewares.MyProxyMiddleware": 610}' -s PROXY_LIST="http://proxy1:port,http://proxy2:port"
Supported Exchanges
| Exchange | Status |
|---|---|
| Bybit | ✅ |
| Binance | ✅ |
| OKX | ✅ |
| Bitget | ✅ |
| BingX | ✅ |
| Kraken | ✅ |
| Bitfinex | ✅ |
| XT | ✅ |
| Crypto.com | ✅ |
| MEXC | ✅ |
| Deepcoin | ✅ |
| Kucoin | ✅ |
| Upbit | ✅ |
Available options : ["bybit", "binance", "okx", "bitget", "bitfinex", "xt", "bingx", 'kraken', 'cryptocom', 'mexc', 'deepcoin', 'kucoin', 'upbit']
📊 Output Format
Each scraped announcement includes:
{
"news_id": "unique_identifier",
"title": "Announcement title",
"desc": "Announcement description",
"url": "Full URL to announcement",
"category_str": "Category (e.g., latest_activities, new_crypto)",
"exchange": "Exchange name",
"announced_at_timestamp": 1749235200,
"timestamp": 1749232733
}
⚙️ Configuration
Key settings in settings.py:
MAX_PAGE: Maximum number of pages to crawl (default: 2)DOWNLOAD_DELAY: Delay between requests in seconds (default: 3)CONCURRENT_REQUESTS: Number of concurrent requests (default: 8)USER_AGENT: List of user agents for rotationPROXY_LIST: Fill the list with your proxy list and remember also to open uncomment the DOWNLOADER_MIDDLEWARES part to use the proxy middlewarePLAYWRIGHT_LAUNCH_OPTIONS: Browser configuration for Playwright spiders
Custom Settings
You can override settings from the command line:
scrapy crawl bitget -s MAX_PAGE=5 -s DOWNLOAD_DELAY=2
🔧 Technical Requirements
- Python 3.7+
- Scrapy 2.11.0+
- Playwright (for Bitget spider)
- Chromium browser (automatically installed with Playwright)
🌐 Exchange URLs
Direct links to announcement pages:
⚖️ Legal & Ethical Usage
This crawler is designed for educational and research purposes. Please ensure you comply with:
- Applicable data protection laws
- Fair use guidelines
Always use the crawler responsibly and consider the impact on the target servers.
🤝 Contributing
Contributions welcome! Areas for improvement:
- Add support for more exchanges (Huobi, Gateio, etc.)
- Implement real-time WebSocket feeds
- Add telegram/discord notification integrations
- Improve data parsing and categorization
Support
For issues, questions, or contributions, please create an issue in the repository.
Metadata
Release files for crypto-exchange-news-crawler 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| crypto_exchange_news_crawler-0.1.9.tar.gz | 21.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crypto_exchange_news_crawler-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.6 kB
Release files / crypto_exchange_news_crawler-0.1.9.tar.gz
| Download URL | crypto_exchange_news_crawler-0.1.9.tar.gz |
|---|---|
| Size | 21.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcd6bf67ce5887289dc8b3e4d5d312db1b186d0b07837976ae6a7101d8a5a408
|
|
BLAKE2b-256 checksum How to use checksums |
5802a58f37cb0d6d75ad0603def59c8e32a588e69637ec727efddebd9b3ca035
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.12
|
Release files / crypto_exchange_news_crawler-0.1.9-py3-none-any.whl
| Download URL | crypto_exchange_news_crawler-0.1.9-py3-none-any.whl |
|---|---|
| Size | 28.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f82616a7c436a644b2e071ce584dcbd6cfa267490339137f059011fcbcda5f05
|
|
BLAKE2b-256 checksum How to use checksums |
7a5550b6b787b22ccc0b55aa5bfc56c312646c587af928c4448e69d171f465fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.12
|