This program downloads all files of a Stud.IP users current semester.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.4 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. # Stud.IP Crawler
  2. This is a program that downloads all files available for a given Stud.IP user.
  3. It only downloads and searches through the courses in the current semester.
  4. If you run the program again it only downloads files that have changed since the last time running it.
  5. ## Features/To-Dos
  6. - [x] Downloads files of given users active semester via commandline
  7. - [x] Keeping file structure of Stud.IP
  8. - [x] Specify username
  9. - [x] Specify password
  10. - [x] Specify Stud.IP-URL
  11. - [x] Specify output directory
  12. - [x] Specify chunk size to download big files
  13. - [x] Specify all important database variables
  14. - [x] Only download files after given date
  15. - [x] Save and read download date
  16. - [x] Possible reset of download date
  17. - [x] Incremental file download
  18. - [x] Store id and chdate of downloaded files
  19. - [ ] Logging
  20. - [x] Console log
  21. - [ ] Log file
  22. ## Installation
  23. - create an instance of
  24. - `git clone https://github.com/tiyn/studip-crawler`
  25. - `cd studip-crawler/src/`
  26. - `pip3install -r requirements` - install dependencies
  27. ## Usage
  28. Just run the file via `python3 run.py [options]`.
  29. Alternatively to `python3 run.py` you can give yourself permissions using `chmod +x run.py [options]` and
  30. run it with `./run.py [options]`.
  31. There are several options required to work.
  32. Run `python3 run.py -h` for a help menu and see which ones are important for you.
  33. ## Tested StudIP instances
  34. - Carl von Ossietzky Universität Oldenburg