You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Scraper my brake when Itslearning changes the Frontend.
The Scraper was not tested on Accounts with many Projects, so turn the page to display more Projects is untested.
The Scraper should be replaced with an api as soon as one becomes available.
What it dose
The frontend gets the Itslearning Account information from the user
Using this, Django calls the Web Scraper to fetch all Projects, Resources in the Project and Discussion within the Resources
The backend dos does not save anything long-term. Temporary cashing of user data and fetch Projects is done on a session-by-session base
The fetch data is then served back to the frontend, where it can be viewed and filtered.
How to install
Clone the repository on your local machine.
Run docker build (dockerfile included in the repository)
Start the container a port forward to 80 in the container.
When run in production following environmental variables should be set: ALLOWED_HOSTS (IPv4 separated by ;), SECRET_KEY (str), RUN_IN_DEBUG ("1"/"0"), CSRF_TRUSTED_ORIGINS (IPv4 separated by ;)
Use in Dev environment
Install dependencies (requirements.txt in its_learning_scraper/ and npm pacages in its_learning_scraper/frontend)
Run in Debug using preconfigured variables in .vscode/launch.json