Skip to content

DavidM42/MoodleScraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

      _____                    .___.__              
     /     \   ____   ____   __| _/|  |   ____      
    /  \ /  \ /  _ \ /  _ \ / __ | |  | _/ __ \     
   /    Y    (  <_> |  <_> ) /_/ | |  |_\  ___/     
   \____|__  /\____/ \____/\____ | |____/\___  >    
           \/                   \/           \/     
  _________                                         
 /   _____/ ________________  ______   ___________  
 \_____  \_/ ___\_  __ \__  \ \____ \_/ __ \_  __ \ 
 /        \  \___|  | \// __ \|  |_> >  ___/|  | \/ 
/_______  /\___  >__|  (____  /   __/ \___  >__|    
        \/     \/           \/|__|        \/        

MoodleScraper is a tool for scraping resources from Moodle.

Description

This script downloads all resources for your specified moodle instance and saves it in a neat folder structure.

+--Semester/
|  +--Class/
|  |  +--Section/
|  |  |  +--Resource.src

Prerequisites

The script uses python-requests and BeautifulSoup4.

Ìnstall all needed libraries via one command

pip install -r requirements.txt

or each library seperately

pip install requests
pip install beautifulSoup4

Configuration

copy scraper.conf.sample to scraper.conf and change all values to your needs. save and enjoy ;)

Usage

python scraper.py

Follow the Dialog.

Disclaimer

There is no warranty, expressed or implied, associated with this product. Use at your own risk.

About

scraping resources from moodle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%