Giter Site home page Giter Site logo

lsblakk / koc_khan_offline Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 10.0 269 KB

Tools for pulling the Khan Academy videos offline for use with the Kids on Computers project

Home Page: http://www.kidsoncomputers.org/

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

koc_khan_offline's Introduction

This is a project for Kids on Computers to give access to Khan Academy offline

There are several tools available here:

http://www.khanacademy.org/downloads

However, the closest existing tool is designed for running a local instance of the website in
Windows (using google app engine) and so this version of the tool took the python scripts from 
http://code.google.com/p/khanacademy/downloads/detail?name=KhanAcademy-1482.zip&can=2&q= and have been adapting them to

a) work with other video formats (mp4, ogg) that exist on archive.org
b) provide a command-line interface for interacting with this tool
c) create a web interface to interact with the local video storage

TODO:

* remove video_mapping.py and replace with a list of the known categories in download.py

adjust download.py:
* to read each category's url (eg: http://www.archive.org/download/KhanAcademy_Geometry) and process list of filenames in each (as requested through the command line args for -c categories)
* check if each video exists in local video/ dir before trying to download
** if not already downloaded, download each unique filename with a format that matches the requested list of formats to the video/ dir
** else, skip it
* write an index page in the top level of koc_khan_offline that displays the content of the video dir so users can interact with the videos through that

Nice to have:
* keep a list of what doesn't download (or how far the script runs until?)
* SMS if there are updates available (twilio)
* easter egg - download one monty python video :)

koc_khan_offline's People

Contributors

judytuna avatar lsblakk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

koc_khan_offline's Issues

Todo #1

remove video_mapping.py and replace with a list of the known categories in download.py

Todo #3

  • check if each video exists in local video/ dir before trying to download

Todo #6

write an index page in the top level of koc_khan_offline that displays the content of the video dir so users can interact with the videos through that

Todo #4

** if not already downloaded, download each unique filename with a format that matches the requested list of formats to the video/ dir
** else, skip it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.