juriscraper
juriscraper copied to clipboard
`nyag` scraper failing
I checked the source and there are no opinions for 2024, as of now. Maybe that's why the scraper is failing, but seems a low priority fix
Sentry Issue: COURTLISTENER-7AQ
ValueError: not enough values to unpack (expected at least 4, got 2)
File "cl/scrapers/management/commands/cl_scrape_opinions.py", line 390, in handle
self.parse_and_scrape_site(mod, options)
File "cl/scrapers/management/commands/cl_scrape_opinions.py", line 353, in parse_and_scrape_site
site = mod.Site().parse()
It certainly appears that way - but we should not be failing if there are no opinions I think. First there is a random opinion from 2024 but we should just recognize that none exists and not crash.
https://ag.ny.gov/sites/default/files/opinions/rcda-coa-decision-5-21.pdf
This is low priority but just failing over and over - im going to disable the scraper until this gets updated.