Requires the username and password of the user registered in moodle iitm
Selenium 3.4.3 urllib (1.21.1) pathlib (1.0.1) pathlib2 (2.2.1) urllib3 (1.21.1) Python 2.7
This code has been tested on Ubuntu Mate 16.04
1)This script requires your moodle iitm username and password and logins into your moodle iitm account and downloads the latest uploaded files from moodle from courses that you are enrolled in. 2)This script only files which are pdfs 3)This script also creates the folders(with name as your subject names) in your computer.
moves the downloaded files from the temp location to the respective subject folder.
downloads the pdfs from the course page
creates the folder for each subject
enters the username and password given by the user
searches for the login button and clicks it
changes the profile settings of the tab that gets opened such that the file is directly downloaded instead of opening in a new tab
Log file for files already downloaded as to be created
Log file for username and password has to be remembered in the log file