diff options
Diffstat (limited to 'management/commands/scraptimetables.py')
-rw-r--r-- | management/commands/scraptimetables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/management/commands/scraptimetables.py b/management/commands/scraptimetables.py index 8ce51f6..da8899c 100644 --- a/management/commands/scraptimetables.py +++ b/management/commands/scraptimetables.py @@ -32,7 +32,7 @@ class Command(BaseCommand): soup = get_xml(finder) for link in soup.find_all("a"): if "toutes sections et semestres confondus" in link.text: - print(year, name, link.text) + print(year, name, link.text, link.parent.parent.find("a", attrs={"class": "xmllink"})["href"]) def __get_finders(self, url): soup = get_xml(url) |