Skip to content

Commit

Permalink
Join URLs with urljoin again
Browse files Browse the repository at this point in the history
The base URL needs a trailing "/", so the part after the first "/" won't
be ignored.
  • Loading branch information
PinieP committed Nov 2, 2024
1 parent 615adbf commit 6199d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PFERD/crawl/ilias/ilias_web_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async def _run(self) -> None:
async def _crawl_course(self, course_id: int) -> None:
# Start crawling at the given course
root_url = url_set_query_param(
self._base_url + "/goto.php",
urljoin(self._base_url + "/", "goto.php"),
"target", f"crs_{course_id}",
)

Expand Down

0 comments on commit 6199d1d

Please sign in to comment.