Skip to content

fix(ariz): update download URLs to use new cdn domain #1475

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Luis-manzur
Copy link
Contributor

Bug Fixes:

  • Arizona scraper URLs: Updated the _get_download_urls method in ariz.py to replace URLs. This ensures compatibility with the updated source site.

@Luis-manzur Luis-manzur requested a review from flooie July 1, 2025 16:40
@Luis-manzur Luis-manzur moved this to PR'd Issues 🤞 in Case Law Sprint Jul 1, 2025
@Luis-manzur Luis-manzur moved this from PR'd Issues 🤞 to PRs to Review in Case Law Sprint Jul 1, 2025
Comment on lines 25 to 31
return [
href.replace(
"http://www.azcourts.gov", "https://opinions.azcourts.gov"
)
for href in self.html.xpath(path)
]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did we make this change.

I see no difference when I test both versions.

Also - if we are updating Arizona - let's move it to opinionsitelinear.

Copy link
Contributor

@flooie flooie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im not sure I understand if this is a fix or not but lets revamp ariz to opinionsitelinear while we are updating it.

@Luis-manzur
Copy link
Contributor Author

Luis-manzur commented Jul 2, 2025

#1474 (comment)

as I mentioned in the parent issue, new files are returning 404 template if we use old url

@flooie

@Luis-manzur Luis-manzur assigned flooie and unassigned Luis-manzur Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: PRs to Review
Development

Successfully merging this pull request may close these issues.

'http://www.azcourts.gov/Portals/0/OpinionFiles/Div1/2025/FINAL%20CV24-0654%20COLLINS%20v.%20COLLINS.pdf' 'text/html' not in ['application/pdf']
2 participants