Skip to content
Snippets Groups Projects
Commit 88c83f0a authored by Adrian Block's avatar Adrian Block
Browse files

🐛 updated site path

parent 9e73c65c
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -10,11 +10,13 @@ scraper_command = typer.Typer()
@scraper_command.command()
def catalogue(
url: str = "https://paul.uni-paderborn.de/scripts"
"/mgrqispi.dll?APPNAME=CampusNet&PRGNAME=EXTERNALPAGES&ARGUMENTS=-N000000000000001,-N000442,-Avvz",
site_path: str = "/scripts"
"/mgrqispi.dll?APPNAME=CampusNet&PRGNAME=ACTION&ARGUMENTS=-Aw4X-HTjVOMBlmBSUTe9-qpm-CTFZM5L4VFRII~T"
"VpBwL-Ksp5ziG76TDT76rB~ohmwaUjm4E~Xsti0bQpGf6z4TrJzvIRZLLjXsR1zg1J34q6K3YuQE9~0HRkF1dE2758ES3GPq6F"
"hHezpty9X~is7wsOr5RJg4t-Sh2mKAKrXtzVq2FCTQiUvvlig__",
verbose: bool = typer.Option(False, "--verbose", "-v")):
typer.echo(f"Parsing on {url}")
data = asyncio.run(scraper.find_and_parse_courses(url))
typer.echo(f"Parsing on {site_path}")
data = asyncio.run(scraper.find_and_parse_courses(site_path))
if verbose:
print(data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment