freelawproject/juriscraper

Fix `extract_from_text` for `mass` backscraper, and re-run it

Opened this issue · 0 comments

Related to #984
To be run after the bug is fixed and freelawproject/courtlistener#4520 is merged

Sentry Issue: COURTLISTENER-8KH

AttributeError: 'list' object has no attribute 'xpath'
  File "cl/scrapers/tasks.py", line 183, in extract_doc_content
    update_document_from_text(opinion, juriscraper_module)
  File "cl/scrapers/tasks.py", line 64, in update_document_from_text
    metadata_dict = site.extract_from_text(opinion.plain_text or opinion.html)