You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some backscrapes make a lot of requests, and this may cause the source server to temporarily block us or to be overloaded.
We could handle this by introducing a time.sleep(backscrape_wait) after each backscrape tick, where backscrape_wait has a default of 1 (?) and is configurable via command line argument.
For example, the following command would override the wait to be of 60 seconds after each backscrape tick
Some backscrapes make a lot of requests, and this may cause the source server to temporarily block us or to be overloaded.
We could handle this by introducing a
time.sleep(backscrape_wait)
after each backscrape tick, wherebackscrape_wait
has a default of 1 (?) and is configurable via command line argument.For example, the following command would override the wait to be of 60 seconds after each backscrape tick
manage.py cl_back_scrape_opinions --courts juriscraper.opinions.united_states.state.ortc --backscrape-start 2011/12/14 --verbosity 3 --backscrape-wait=60
courtlistener/cl/scrapers/management/commands/cl_back_scrape_opinions.py
Lines 43 to 52 in 9f2dcd7
The text was updated successfully, but these errors were encountered: