Skip to content

Using Selenium to automatically detect and download files from the course website.

Notifications You must be signed in to change notification settings

Infinity12306/AutoDownload-BB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Introduction

Use selenium to automatically download homework files and course materials (support files with suffix .pdf ,.zip, .doc, .docx, .ppt, .pptx), and recordings from the course website.

Declaration

This project is only for learning and communication, and the user is responsible for all consequences caused by using this project. Please use this project in a legal way.

Usage

  1. Install the required packages
pip install selenium requests tqdm
  1. Input your own authentication data and target courses and channels in archive.py

  2. Run the archive.py

python archive.py

The download progress is recorded in the console along the way. For large files like course recordings, a progress bar is displayed for you to easily track the downloading. All downloaded files are saved in the corresponding course folder with a hierachy like

AutoDownload-BB
    |-archive.py
    |
    |-CourseName1
    |   ├── materials
    |   │   ├── file1.pdf
    |   │   ├── file2.zip
    |   │   └── ...
    |   ├── homework
    |   │   ├── hw1.pdf
    |   │   ├── hw2.zip
    |   │   └── ...
    |   └── recordings
    |       ├── rec1.mp4
    |       ├── rec2.mp4
    |       └── ...
    |   
    |-CourseName2
    |   ├── ...
    |
    |-...

About

Using Selenium to automatically detect and download files from the course website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages