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.

38 lines
1.3 KiB

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] Only download files after given date
  14. [x] Save and read download date
  15. [x] Possible reset of download date
  16. [ ] Incremental file download
  17. [ ] Indexing
  18. ## Installation
  19. - `git clone https://github.com/tiyn/studip-crawler`
  20. - `cd studip-crawler`
  21. - `pip3install -r requirements` - install dependencies
  22. ## Usage
  23. Just run the file via `python3 crawler.py [options]`.
  24. Alternatively to `python3 crawler.py` you can give yourself permissions using `chmod +x crawler.py [options]` and
  25. run it with `./crawler.py [options]`.
  26. There are several options required to work.
  27. Run `python3 crawler.py -h` for a help menu and see which ones are important for you.
  28. ## Tested StudIP instances
  29. - Carl von Ossietzky Universität Oldenburg