Skip to content

Commit

Permalink
Fix press releases procedure extraction (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
linusha authored Feb 3, 2025
2 parents 9e97f4b + f071539 commit 3f48ef4
Show file tree
Hide file tree
Showing 4 changed files with 4,663 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 3f48ef4

Please sign in to comment.