ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
129.94k stars 9.8k forks source link

downloading from udemy #32778

Closed ctamietto closed 2 months ago

ctamietto commented 2 months ago

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

dirkf commented 2 months ago

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

Regarding the support for udemy here, probably also at yt-dlp, see https://github.com/ytdl-org/youtube-dl/issues/29410#issuecomment-1110932846 and related issues.