juriscraper icon indicating copy to clipboard operation
juriscraper copied to clipboard

`nyag` scraper failing

Open grossir opened this issue 1 year ago • 2 comments

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()

grossir avatar Jul 16 '24 02:07 grossir

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

Image

flooie avatar Nov 14 '24 15:11 flooie

This is low priority but just failing over and over - im going to disable the scraper until this gets updated.

flooie avatar Nov 18 '24 16:11 flooie