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

Optimize court call scrape #53

Merged
merged 4 commits into from
Apr 5, 2024

Conversation

antidipyramid
Copy link
Collaborator

Overview

This PR optimizes the court call scrape by:

  1. reducing unnecessary requests for associated case calendar values
  2. using scrapy's priority queue to avoid "out of order" requests (e.g. we'll complete all the requests for the cases on page 1 of results before moving on to page 2)

Both of these improvements make court call scrapes faster and reduces rejected requests.

Connects #52

@antidipyramid antidipyramid marked this pull request as ready for review April 5, 2024 19:46
@antidipyramid antidipyramid requested a review from fgregg April 5, 2024 19:46
This reverts commit 327a900.
@antidipyramid antidipyramid merged commit 0dc2b64 into main Apr 5, 2024
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.

2 participants