mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 07:25:04 +02:00
Join URLs with urljoin again
The base URL needs a trailing "/", so the part after the first "/" won't be ignored.
This commit is contained in:
parent
998abc3afd
commit
79bfaa2556
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ instance's greatest bottleneck.
|
||||||
async def _crawl_course(self, course_id: int) -> None:
|
async def _crawl_course(self, course_id: int) -> None:
|
||||||
# Start crawling at the given course
|
# Start crawling at the given course
|
||||||
root_url = url_set_query_param(
|
root_url = url_set_query_param(
|
||||||
self._base_url + "/goto.php",
|
urljoin(self._base_url + "/", "goto.php"),
|
||||||
"target", f"crs_{course_id}",
|
"target", f"crs_{course_id}",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue