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

Fix extract_from_text for mass backscraper, and re-run it #1234

Open
grossir opened this issue Nov 12, 2024 · 0 comments
Open

Fix extract_from_text for mass backscraper, and re-run it #1234

grossir opened this issue Nov 12, 2024 · 0 comments

Comments

@grossir
Copy link
Contributor

grossir commented Nov 12, 2024

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)
grossir added a commit that referenced this issue Nov 12, 2024
Solves #1234

fixed indexing errors in extract_from_text
@flooie flooie moved this to General Backlog in Case Law Sprint Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: General Backlog
Development

No branches or pull requests

1 participant