ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites

Home Page:http://ytdl-org.github.io/youtube-dl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

downloading from udemy

ctamietto opened this issue · comments

I'm trying to download a free course from udemy using the docker container

docker run --rm -it jauderho/yt-dlp:latest -u !!!!!!!!!! -p ??????? -o '~/MyVideos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/java-tutorial/

using user and password that I use to login to udemy
and I get this error

[udemy:course] Downloading login popup
ERROR: [udemy:course] java-tutorial: Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)

I've tried also to download courses that I have regularly buyed but the error is always the same .

So the question is :

can I use youtube-dl to download courses from udemy or is no longer possible ?
I'm doing something wrong ?

thanks for any response

commented

#30839: "... if you were actually running yt-dlp ..."

Regarding the support for udemy here, probably also at yt-dlp, see #29410 (comment) and related issues.