{"id":13551701,"url":"https://github.com/rand-net/khan-dl","last_synced_at":"2025-04-08T09:13:47.169Z","repository":{"id":53350705,"uuid":"332688683","full_name":"rand-net/khan-dl","owner":"rand-net","description":"Download courses from  khanacademy.org ","archived":false,"fork":false,"pushed_at":"2024-07-05T09:07:35.000Z","size":79,"stargazers_count":857,"open_issues_count":2,"forks_count":46,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-04-01T08:30:19.610Z","etag":null,"topics":["khan-academy","khan-academy-download","khan-dl","khan-downloader","lectures","video","video-downloader","youtube-dl"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rand-net.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-25T09:07:32.000Z","updated_at":"2025-03-22T05:33:26.000Z","dependencies_parsed_at":"2024-08-01T12:19:28.739Z","dependency_job_id":"57354a5c-17f3-4183-bfb3-e00771f7f5e8","html_url":"https://github.com/rand-net/khan-dl","commit_stats":{"total_commits":53,"total_committers":3,"mean_commits":"17.666666666666668","dds":"0.037735849056603765","last_synced_commit":"91759b3aaec32e756588e3c29950fe25bf615041"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rand-net%2Fkhan-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rand-net%2Fkhan-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rand-net%2Fkhan-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rand-net%2Fkhan-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rand-net","download_url":"https://codeload.github.com/rand-net/khan-dl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["khan-academy","khan-academy-download","khan-dl","khan-downloader","lectures","video","video-downloader","youtube-dl"],"created_at":"2024-08-01T12:01:52.458Z","updated_at":"2025-04-08T09:13:47.112Z","avatar_url":"https://github.com/rand-net.png","language":"Python","funding_links":[],"categories":["Python","Network"],"sub_categories":["NetServices"],"readme":"# khan-dl\n\nA python script to download courses from [Khan Academy](https://www.khanacademy.org) using [yt-dlp](https://github.com/yt-dlp/yt-dlp) and [beautifulsoup4](https://pypi.org/project/beautifulsoup4/).\n\n![PyPI](https://img.shields.io/pypi/v/khan-dl?style=flat-square)\n![GitHub](https://img.shields.io/github/license/rand-net/khan-dl?style=flat-square)\n\n## Installation\n\n```\npip install khan-dl -U\n```\n\n## Usage\n\n```\n$ khan-dl -h\n\nusage: khan-dl [-h] [-i] [-c COURSE_URL]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -i, --interactive     Enter Interactive Course Selection Mode\n  -c COURSE_URL, --course_url COURSE_URL\n                        Enter Course URL\n  -a, --all             Download all Courses from all Domains\n```\n\n- You can download courses interactively on a prompt, which will list all course\n  domains and their respective courses available with tab completion.\n\n```\n$ khan-dl -i\n _  __ _   _     _     _   _         ____   _\n| |/ /| | | |   / \\   | \\ | |       |  _ \\ | |\n| ' / | |_| |  / _ \\  |  \\| | _____ | | | || |\n| . \\ |  _  | / ___ \\ | |\\  ||_____|| |_| || |___\n|_|\\_\\|_| |_|/_/   \\_\\|_| \\_|       |____/ |_____|\n\n\n\nDomain: Math\nSelected Domain: math\n\nDownloading Courses...\n\nCourse: Early math\nSelected Course: Early math\nCourse URL: https://www.khanacademy.org/math/early-math\n\nGenerating Path Slugs.....\n\n\nCollecting Youtube IDs: 100.0% [========================================================================================================================================\u003e]   4/  4 eta [00:00]\nDownloading Videos:   0.0% [\u003e                                                                                                                                          ]   0/ 75 eta [?:??:??]\n```\n\n- Download a specific course.\n\n```\n$  khan-dl -c \"https://www.khanacademy.org/math/early-math\"\n _  __ _   _     _     _   _         ____   _\n| |/ /| | | |   / \\   | \\ | |       |  _ \\ | |\n| ' / | |_| |  / _ \\  |  \\| | _____ | | | || |\n| . \\ |  _  | / ___ \\ | |\\  ||_____|| |_| || |___\n|_|\\_\\|_| |_|/_/   \\_\\|_| \\_|       |____/ |_____|\n\n\nLooking up https://www.khanacademy.org/math/early-math...\nCourse URL: https://www.khanacademy.org/math/early-math\n\nGenerating Path Slugs...\n\nCollecting Youtube IDs: 100.0% [========================================================================================================================================\u003e]   4/  4 eta [00:00]\nDownloading Videos:   0.0% [\u003e                                                                                                                                          ]   0/ 75 eta [?:??:??]\n```\n\n- Download all courses on traditional subjects like Math, Science, Computing, Humanities, Economics-Finance-Domain.\n\n```\n$ khan-dl -a\n\n _  __ _   _     _     _   _         ____   _\n| |/ /| | | |   / \\   | \\ | |       |  _ \\ | |\n| ' / | |_| |  / _ \\  |  \\| | _____ | | | || |\n| . \\ |  _  | / ___ \\ | |\\  ||_____|| |_| || |___\n|_|\\_\\|_| |_|/_/   \\_\\|_| \\_|       |____/ |_____|\n\n\nDownloading all Courses from all Domains...\nSelected Domain:  math\n\nDownloading Courses...\n\nSelected Domain:  science\n\nDownloading Courses...\n\nSelected Domain:  computing\n\nDownloading Courses...\n\nSelected Domain:  humanities\n\nDownloading Courses...\n\nSelected Domain:  economics-finance-domain\n\nDownloading Courses...\n\nSelected Domain:  ela\n\nDownloading Courses...\n\n\nCourse URL: https://www.khanacademy.org/math/early-math\n\nGenerating Path Slugs...\n\n\nCollecting Youtube IDs: 100.0% [========================================================================================================================================\u003e]   4/  4 eta [00:00]\nDownloading Videos:   0.0% [\u003e                                                                                                                                          ]   0/ 75 eta [?:??:??]\n```\n\n## Other solutions\n\nKhan Academy is also available for offline usage through these Open Source projects:\n\n- [Kolibri](https://learningequality.org/kolibri/)\n- [Kiwix](https://www.kiwix.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frand-net%2Fkhan-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frand-net%2Fkhan-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frand-net%2Fkhan-dl/lists"}