bitumin / CodeSchool-Downloader

💯 Automation Download codeschool all videos, build with python and selenium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeSchool-Downloader

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.

Demo

See video

Requirement

Usage

Prepare

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

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

Downloading

When you finished parsing, just run download_courses.py or download_screencasts.py to downloading videos

    $ python download_courses.py
    $ python download_screencasts.py

About

💯 Automation Download codeschool all videos, build with python and selenium


Languages

Language:Python 100.0%