mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Support downloading folders in get-by-url script
This commit is contained in:
parent
3387bc5f20
commit
be65051f9d
@ -34,7 +34,7 @@ def main() -> None:
|
||||
crawler = IliasCrawler(url.scheme + '://' + url.netloc, session, authenticator, lambda x, y: True)
|
||||
|
||||
cookie_jar.load_cookies()
|
||||
folder = crawler.find_course_name(id)
|
||||
folder = crawler.find_element_name(args.url)
|
||||
cookie_jar.save_cookies()
|
||||
else:
|
||||
folder = args.folder
|
||||
|
Loading…
Reference in New Issue
Block a user