stepik-oauth2-videodownloader
stepik-oauth2-videodownloader copied to clipboard
Example of OAuth2 application for Stepic.org. Downloads all videofiles from a module (week) of a course.
Stepic.org Video Downloader
Example of OAuth2 application for Stepic.org.
Downloads all video files from a module (week) of a course or the whole course.
-
Go to https://stepik.org/oauth2/applications/
-
Register your application with settings:
Client type: confidential
Authorization Grant Type: client-credentials
-
Install requests module
pip install requests
- Run the script
python3 downloader.py [-h] --course_id=COURSE_ID --client_id=CLIENT_ID --client_secret=CLIENT_SECRET [--week_id=WEEK_ID] [--quality=360|720|1080] [--output_dir=.]