Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Scrapy | 47,417 | 4,185 | 373 | 2 days ago | 87 | March 01, 2022 | 741 | bsd-3-clause | Python | |
Scrapy, a fast high-level web crawling & scraping framework for Python. | ||||||||||
Lux | 21,172 | 5 | 2 days ago | 31 | May 05, 2022 | 445 | mit | Go | ||
👾 Fast and simple video download library and CLI tool written in Go | ||||||||||
Colly | 19,582 | 81 | 201 | 20 days ago | 22 | March 08, 2022 | 168 | apache-2.0 | Go | |
Elegant Scraper and Crawler Framework for Golang | ||||||||||
Newspaper | 12,678 | 222 | 48 | a month ago | 18 | September 28, 2018 | 495 | mit | Python | |
News, full-text, and article metadata extraction in Python 3. Advanced docs: | ||||||||||
Webmagic | 10,770 | 734 | 15 | 2 months ago | 21 | July 22, 2021 | 338 | apache-2.0 | Java | |
A scalable web crawler framework for Java. | ||||||||||
Easyspider | 9,779 | 15 hours ago | 6 | gpl-3.0 | JavaScript | |||||
A visual no-code/code-free web crawler/spider易采集:一个可视化爬虫软件,可以无代码图形化的设计和执行爬虫任务 | ||||||||||
Avbook | 8,777 | 3 months ago | 85 | PHP | ||||||
AV 电影管理系统, avmoo , javbus , javlibrary 爬虫,线上 AV 影片图书馆,AV 磁力链接数据库,Japanese Adult Video Library,Adult Video Magnet Links - Japanese Adult Video Database | ||||||||||
Crawlee | 8,400 | 16 | 20 hours ago | 246 | September 23, 2022 | 106 | apache-2.0 | TypeScript | ||
Crawlee—A web scraping and browser automation library for Node.js that helps you build reliable crawlers. Fast. | ||||||||||
Awesome Web Scraping | 5,777 | a month ago | 1 | other | Makefile | |||||
List of libraries, tools and APIs for web scraping and data processing. | ||||||||||
Awesome Crawler | 5,548 | a month ago | 24 | mit | ||||||
A collection of awesome web crawler,spider in different languages |
ℹ️ Crawlee is the successor to Apify SDK. 🎉 Fully rewritten in TypeScript for a better developer experience, and with even more powerful anti-blocking features. The interface is almost the same as Apify SDK so upgrading is a breeze. Read the upgrading guide to learn about the changes. ℹ️
Crawlee covers your crawling and scraping end-to-end and helps you build reliable scrapers. Fast.
Your crawlers will appear human-like and fly under the radar of modern bot protections even with the default configuration. Crawlee gives you the tools to crawl the web for links, scrape data, and store it to disk or cloud while staying configurable to suit your project's needs.
Crawlee is available as the crawlee
NPM package.
👉 View full documentation, guides and examples on the Crawlee project website 👈
We recommend visiting the Introduction tutorial in Crawlee documentation for more information.
Crawlee requires Node.js 16 or higher.
The fastest way to try Crawlee out is to use the Crawlee CLI and choose the Getting started example. The CLI will install all the necessary dependencies and add boilerplate code for you to play with.
npx crawlee create my-crawler
cd my-crawler
npm start
If you prefer adding Crawlee into your own project, try the example below. Because it uses PlaywrightCrawler
we also need to install Playwright. It's not bundled with Crawlee to reduce install size.
npm install crawlee playwright
import { PlaywrightCrawler, Dataset } from 'crawlee';
// PlaywrightCrawler crawls the web using a headless
// browser controlled by the Playwright library.
const crawler = new PlaywrightCrawler({
// Use the requestHandler to process each of the crawled pages.
async requestHandler({ request, page, enqueueLinks, log }) {
const title = await page.title();
log.info(`Title of ${request.loadedUrl} is '${title}'`);
// Save results as JSON to ./storage/datasets/default
await Dataset.pushData({ title, url: request.loadedUrl });
// Extract links from the current page
// and add them to the crawling queue.
await enqueueLinks();
},
// Uncomment this option to see the browser window.
// headless: false,
});
// Add first URL to the queue and start the crawl.
await crawler.run(['https://crawlee.dev']);
By default, Crawlee stores data to ./storage
in the current working directory. You can override this directory via Crawlee configuration. For details, see Configuration guide, Request storage and Result storage.
Crawlee is open-source and runs anywhere, but since it's developed by Apify, it's easy to set up on the Apify platform and run in the cloud. Visit the Apify SDK website to learn more about deploying Crawlee to the Apify platform.
If you find any bug or issue with Crawlee, please submit an issue on GitHub. For questions, you can ask on Stack Overflow, in GitHub Discussions or you can join our Discord server.
Your code contributions are welcome, and you'll be praised to eternity! If you have any ideas for improvements, either submit an issue or create a pull request. For contribution guidelines and the code of conduct, see CONTRIBUTING.md.
This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details.