This program is WIP, the code is provided as-is and i am not held resposible for any legal repercussions resulting from the use of this program.
if you want help using the program, join my discord server or use github issues
All code is licensed under the MIT license
Simple and hacky program to download a udemy course, has support for DRM videos but requires the user to aquire the decryption key (for legal reasons).
quick and dirty how-to
You will need to get a few things before you can use this program:
.env.sample to .envkeyfile.example.json to keyfile.jsonapi-2.0/courses
Request Headers sectionAuthorization, it should look like Bearer xxxxxxxxxxx
.env file after UDEMY_BEARER=
/api-2.0/courses/ as seen highlighed in the above picture.env file after UDEMY_COURSE_ID=It is up to you to aquire the key and key id.
keyfile.json

You can now run python main.py to start downloading. The course will download to out_dir, chapters are seperated into folders.
main.py and change udemy.com to <portal name>.udemy.com$ claude mcp add udemy-downloader \
-- python -m otcore.mcp_server <graph>