QuantumScraper is a blazing fast scraper specifically built to crawl the entire web at an extremely fast pace. This is not your average, general-purpose scraper. QuantumScraper is focused on speed and efficiency, delivering web-scale crawls at lightning-fast speeds.
- Ultra-fast HTTP networking with fasthttp
- Built-in NSQD server for URL queuing
- Advanced URL management and storage using BadgerDB
- Go
- AWS CLI (Optional)
To start off the scraper, we're initializing the scraper's state with the URLs of the CommonCrawl. While we don't need this, we're doing to speedup the scraper. We could start from the root domains priovided by Domains Index , Zonefiles, Domains Monitor or similar.
-
Alternative: Setup your AWS CLI, login to your AWS account. Then download latest columnar CommonCrawl Index. (This might incur bandwidth costs)
aws s3 sync s3://commoncrawl/cc-index/table/cc-main/warc/crawl=CC-MAIN-2023-14/subset=warc/ cc-index/
-
Alternative Without AWS CLI: Visit this link and download each of them one by one.
-
Alternative Without AWS CLI and AWS Account (Slow):
- Visit: https://data.commoncrawl.org/crawl-data/index.html
- Visit the latest crawl, for example: https://data.commoncrawl.org/crawl-data/CC-MAIN-2023-14/index.html
- Download Columnar URL index files: For example: https://data.commoncrawl.org/crawl-data/CC-MAIN-2023-14/cc-index-table.paths.gz
- Unzip with gzip, and append "https://data.commoncrawl.org/" to each line and download all the files.
ulimit -n 1048576
go run main.go