This is a python code that helps you to download all videos from Code School.
If you have any question feel free to contact me at sudo.liyang [at] gmail.com
.
- Code School Membership
- Python 2.7
- pip
- Firefox
Install dependency
$ pip install -r requirement.txt
Configure user and password, edit parsing_courses_to_json.py or parsing_screencasts_to_json.py file, add your Username and Password in the code.
Username = "your_username"
Password = "your_password"
Parsing courses or screencasts video direct url to json and it will open Firefox and auto parse videos, when it finished it will output in current path as courses.json or screencasts.json.
$ python parsing_courses_to_json.py
$ python parsing_screencasts_to_json.py
When you finished parsing, just run download_courses.py or download_screencasts.py to downloading videos
$ python download_courses.py
$ python download_screencasts.py