Filecrawl
A simple crawler obtaining all available files from the campus management platforms Studip and moodle for University Trier
Disclaimer
This version works only for the University Trier and Studip 4. Use the Studip RESTAPI if possible as Crawlers are forbidden by many universities.
There are other open Source Clients supporting the API, e.g. studip-fuse or STUD.IP-FileSync.
Installation
Windows
- Download Python 3.4+
- Download filecrawl and unzip it.
- open cmd
cd /path/to/filecrawl/
python -m pip install -r requirements.txt
MacOS and Linux
- Download Python 3.4+
- Download filecrawl and unzip it.
- open terminal
cd /path/to/filecrawl/
-
pip3 install -r requirements.txt
- When you use a Linux Distro which isn't supported by the
keyrings
backend (e.g. Raspbian) you also need to runpip3 install keyrings.alt
- When you use a Linux Distro which isn't supported by the
Usage
Windows
Simply run the script with python crawler.py
when you are in the filecrawl folder.
It will guide you through the setup when you run the script for the first time.
MacOS and Linux
Simply run the script with python3 crawler.py
when you are in the filecrawl folder.
It will guide you through the setup when you run the script for the first time.
- You may get an Error when using
help
in the Setup on macOS stating thatFIFinderSyncExtensionHost
is implemented in two paths - just ignore this. This also leads to a Finder window which is stuck as long as the script is running.
Credits & Licence
Under MIT LICENCE.