Commit 75981986 authored by jr2804's avatar jr2804
Browse files

fix(meetings): normalize href formatting in MeetingCrawler

* Replace backslashes with forward slashes in hrefs.
* Ensure double slashes are replaced with a single slash.
* Maintain proper URL structure for better link handling.
parent 61a76b5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ class MeetingCrawler:
        raw_href = link.get("href")
        if raw_href is None:
            return None
        href = str(raw_href)
        href = str(raw_href).replace("\\", "/").replace("//", "/")
        return href if href.startswith("http") else urljoin("https://www.3gpp.org", href)

    def _parse_dates(self, text: str) -> tuple[date | None, date | None]: