Show HN: Khan-dl – Khan Academy Course Downloader


A python script to download lessons from Khan Academy the exercise of youtube-dl and beautifulsoup4.

Set up

git clone https://github.com/rand-obtain/khan-dl
cd khan-dl
pip set up -r requirements.txt

Usage

$ python khan-dl.py -h

usage: khan-dl.py [-h] [-i] [-c COURSE_URL]

no longer obligatory arguments:
  -h, --help            present this help message and exit
  -i, --interactive     Enter Interactive Route Desire Mode
  -c COURSE_URL, --course_url COURSE_URL
                        Enter Route URL
  -a, --all             Download all Courses from all Domains
  • You may per chance well well download lessons interactively on a urged, which is prepared to list all path
    domains and their respective lessons on hand with tab completion.
$ python khan-dl.py -i

Route Domain: Math
Selected Route Domain: Math

Downloading Route List...

Route: Linear algebra

Selected Route Domain: Linear algebra

Generating Route Slugs.....

Downloading Videos....

  • Download a particular path.
$ python khan-dl.py -c https://www.khanacademy.org/science/ap-physics-1

  • Download all lessons on veteran topics delight in Math, Science, Computing, Humanities, Economics-Finance-Domain.
$ python khan-dl.py -a

Read More

Recent Content