squashed all commits
added parsing for mathematical foundations recordings added filepath sanitization worked around the changing login URL added streaming of requests for large downloads added gitignore added example
This commit is contained in:
parent
544e609d44
commit
0849c0363a
5 changed files with 300 additions and 14 deletions
33
example.py
Normal file
33
example.py
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
from pathlib import Path
|
||||
from ilias_sync2 import Synchronizer
|
||||
|
||||
base_path = Path("/home/jo/Uni2")
|
||||
cloud_computing = base_path / "Cloud-Computing"
|
||||
discrete_optimization = base_path / "Discrete-Optimization"
|
||||
distributed_system_i = base_path / "Distributed-Systems-1"
|
||||
modern_cryptography = base_path / "Introduction-to-Modern-Cryptography"
|
||||
uebertragungstechnik_1 = base_path / "Übertragungstechnik-1"
|
||||
loose_coupling = base_path / "Loose-Coupling"
|
||||
info_vis = base_path / "Information-Visualization"
|
||||
info_vis_exercise = base_path / "Information-Visualization-Exercise"
|
||||
|
||||
directories = [
|
||||
(cloud_computing,
|
||||
"https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_2623454.html"),
|
||||
(discrete_optimization,
|
||||
"https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_2642312.html"),
|
||||
(modern_cryptography,
|
||||
"https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_2573315.html"),
|
||||
(uebertragungstechnik_1,
|
||||
"https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_2564663.html"),
|
||||
(distributed_system_i,
|
||||
"https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_2572756.html"),
|
||||
(loose_coupling,
|
||||
"https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_2572802.html"),
|
||||
(info_vis,
|
||||
"https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_2573138.html"),
|
||||
(info_vis_exercise,
|
||||
"https://ilias3.uni-stuttgart.de/goto_Uni_Stuttgart_crs_2573225.html"),
|
||||
]
|
||||
|
||||
Synchronizer("st123456", r"yourpasswordhere", directories).synchronize()
|
||||
Loading…
Add table
Add a link
Reference in a new issue