Skip to content
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.
/ iliasSpider Public archive

iliasSpider is a web scraper which downloads your materials from an ilias course (for Uni Constance)

License

Notifications You must be signed in to change notification settings

MisterXY89/iliasSpider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iliasSpider OUTDATED - USE MisterXY89/iliasScraper

THIS IS OUTDATED AND DOES NOT WORK ANYMORE. THEREFORE PLEASE GO TO: MisterXY89/iliasScraper







iliasSpider is a web scraper which downloads your materials from an ilias course (@Uni Constance) written in python.

Approach

I am using scrapy (docs) to login and download the files.

Scrapy is an application framework for crawling web sites and extracting structured data which can be used for a wide range of useful applications, like data mining, information processing or historical archival.

For those who are not familiar with the scrapy folder structure: The spider can be found here: ilias_spider/spiders/ilias.py.

Get things going

Setup

Install (if not satisfied): pip https://pip.pypa.io/en/stable/

  • FOR LINUX:

  • FOR WINDOWS:

    • Python 2.7 (since Python 3 is not supported on Windows with Scrapy)
    • follow the instructions to set up scrapy & restart
    • $ pip install keyring

Run it

You can create for every ilias folder a download program via create.py. Simply run it with pyhton create.py. You will be prompted a few questions to config your spider. Everything you need to know will be explained there.

Possible Errors

Since all files are downloaded with a .pdf extension there might occur an error downloading files of another file format. In most cases, it is sufficient to just change the .pdf extension to the correct one. If any errors occur, try to restart the program and check your config. If it still occurs open a new issue.

About

iliasSpider is a web scraper which downloads your materials from an ilias course (for Uni Constance)

Topics

Resources

License

Stars

Watchers

Forks

Languages