Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Cloudflare crawler #166

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

m-appel
Copy link
Member

@m-appel m-appel commented Jan 24, 2025

Description

  • Create parent class from which both crawlers inherit, replacing the model in which one crawler inherited from another
  • Actually fetch in batches and also in parallel, speeding up the process

Motivation and Context

Crawler is pretty slow and most of its runtime is spend downloading. Parallel downloads and batches make things faster.

How Has This Been Tested?

Tried multiple times with different batch sizes / parallel downloads and the current settings (batches of 10; 4 parallel downloads) seem to work without issue (i.e., hitting rate limits or timeouts).

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

- Create parent class from which both crawlers inherit, replacing the
  model in which one crawler inherited from another
- Actually fetch in batches and also in parallel, speeding up the
  process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant