Skip to content

Commit

Permalink
Support new OEIL procedure file URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
tillprochaska committed Feb 3, 2025
1 parent 04a08e2 commit f071539
Show file tree
Hide file tree
Showing 3 changed files with 2,340 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/howtheyvote/scrapers/press_releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,10 @@ def _procedure_references(self, doc: BeautifulSoup) -> list[str] | None:

for link in self._links(doc):
if not link.startswith(
"https://oeil.secure.europarl.europa.eu/oeil/popups/ficheprocedure.do"
(
"https://oeil.secure.europarl.europa.eu/oeil/popups/ficheprocedure.do",
"https://oeil.secure.europarl.europa.eu/oeil/en/procedure-file",
)
):
continue

Expand Down
Loading

0 comments on commit f071539

Please sign in to comment.