Skip to content

Conversation

@qdequele
Copy link
Member

@qdequele qdequele commented Oct 13, 2024

Pull Request

Add new crawlers:

  • Puppeteer: Launch Chrome to load JavaScript. Useful for websites that require JavaScript to display content.
  • Cheerio (default): Load only the raw HTML without JavaScript. This method is 18 times faster than the previous default.

Add new scrapers:

  • Default: Extract page blocks one by one. Useful for content websites.
  • Schema: Extract schema data from the meta description. Useful for e-commerce and media sites.
  • Custom: Use selectors to extract data. Useful for highly personalized websites.
  • Docsearch: Export a compatible version for Docsearch. Useful for older documents.
  • Markdown: Export all page content as a single markdown file. Useful for LLMs.

Add some test and benchmarks: yarn run tests

A full documentation

This is the list of features and fixes it should include.

Features

P1

P2

P3

Breaking

Fix

@qdequele qdequele changed the title New crawlers and scrapers Scrapix V2 Nov 9, 2024
@qdequele qdequele mentioned this pull request Nov 9, 2024
20 tasks
@qdequele qdequele linked an issue Nov 9, 2024 that may be closed by this pull request
20 tasks
@qdequele qdequele self-assigned this Nov 9, 2024
@qdequele qdequele added the epic label Nov 9, 2024
@qdequele qdequele linked an issue Nov 30, 2024 that may be closed by this pull request
qdequele and others added 9 commits November 30, 2024 22:44
- Updated BaseTest to generate and manage a random index UID internally.
- Modified ScraperTestHelper to accept the index UID in the constructor and removed redundant parameters from methods.
- Adjusted test cases to reflect changes in method signatures and ensure proper functionality without passing the index UID explicitly.

This refactor enhances code clarity and reduces the risk of errors related to index UID management.
Modify RequestQueue initialization to use a default queue identifier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scrapix V2 Find out which field in the config files are mandatory or not

3 participants