|
Download README.md from OpenTransformer/async-web-crawler: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/OpenTransformer/async-web-crawler/resolve/main/README.md
- Command line
-
hf download hf://OpenTransformer/async-web-crawler/README.md
-
curl -L -o README.md https://huggingface.co/OpenTransformer/async-web-crawler/resolve/main/README.md
442 Bytes
Async Web Crawler
High-performance async web scraper for dataset collection.
Install
pip install aiohttp
Usage
python crawler.py seeds.txt output_dir/ --workers 100
Get Seeds
curl -sL https://tranco-list.eu/top-1m.csv.zip -o tranco.zip && unzip tranco.zip
awk -F, '{print "https://"$2"/"}' top-1m.csv > seeds.txt
Output
Each file contains URL and extracted text.
OpenTransformers Ltd