Hey Guys,
I'm new here and just have a question.
I want to download videos from udemy which i purchased but are DRM protected.
So i went down the rabbit hole to yt-dlp but I dont know how to get the KID and Key to decrypt everything.
I tried widevine-l3-guesser but i just dont get the keys on udemy so I guess it doesnt use widevine to encrypt?
[Attachment 60917 - Click to enlarge]
Does someone can help on that topic?
Thanks
Closed Thread
Results 1 to 30 of 74
Thread
-
-
From what I see, m3u8 link with no proper encryption, and can be easily downloaded with Streamlink.
-
Another course seems to be Widevine encrypted.
The mpd is easily accessible, however, yt-dlp gives an error when trying to download and they don't seem to plan on fixing it.
https://github.com/yt-dlp/yt-dlp/issues/825
Here's a mpd sample that will work for I don't know how long.
Code:https://www.udemy.com/assets/13301302/encrypted-files/out/v1/634e766a89734e199b9495e6bae93817/06c8dc12da2745f1b0b4e7c2c032dfef/842d4b8e2e014fbbb87c640ddc89d036/index.mpd?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3V0L3YxLzYzNGU3NjZhODk3MzRlMTk5Yjk0OTVlNmJhZTkzODE3LzA2YzhkYzEyZGEyNzQ1ZjFiMGI0ZTdjMmMwMzJkZmVmLzg0MmQ0YjhlMmUwMTRmYmJiODdjNjQwZGRjODlkMDM2LyIsImV4cCI6MTYzMjg0ODA2Nn0.669St4_qCdjMgx-WkYIrv4k-bfh4L5-r3S0AoMdOTdI&provider=cloudfront&v=1
But this is tedious.
Anyone know another tool or easier way?
-
Hi, I tried both yt-dlp and N_m3u8DL-CL. The first sends a 403 error as vegeta was reporting, the second one throws 'invalid uri'. As you were saying, though, the url to the .mpd is correct and it is possible to download it easily via browser. How did you manage to make it work?
-
-
udemy has changed its rules for downloading. now all videos are protected.
but try this (if you are able with python...) https://github.yuuza.net/Puyodead1/udemy-downloader
-
Could you try this one? I had no luck
https://www.udemy.com/assets/12077082/encrypted-files/out/v1/e6ffbb97ed4c489e89ca569e1...cloudfront&v=1
-
Code:
ytdlp.exe --force-generic-extractor --allow-u -N 16 -f bv "https://www.udemy.com/assets/12077082/encrypted-files/out/v1/e6ffbb97ed4c489e89ca569e178eea91/06c8dc12da2745f1b0b4e7c2c032dfef/842d4b8e2e014fbbb87c640ddc89d036/index.mpd?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3V0L3YxL2U2ZmZiYjk3ZWQ0YzQ4OWU4OWNhNTY5ZTE3OGVlYTkxLzA2YzhkYzEyZGEyNzQ1ZjFiMGI0ZTdjMmMwMzJkZmVmLzg0MmQ0YjhlMmUwMTRmYmJiODdjNjQwZGRjODlkMDM2LyIsImV4cCI6MTY0MjE5NDY5MH0.0wpQAMqvln-9wpgBQuK8ioFIK3fdvHL7LybQKTlf0Gg&provider=cloudfront&v=1" -o encryptedudemy.mp4
PHP Code:WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging.
If you experience any issues while using this option, DO NOT open a bug report
[generic] index.mpd?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3V0L3YxL2U2ZmZiYjk3ZWQ0YzQ4OWU4OWNhNTY5ZTE3OGVlYTkxLzA2YzhkYzEyZGEyNzQ1ZjFiMGI0ZTdjMmMwMzJkZmVmLzg0MmQ0YjhlMmUwMTRmYmJiODdjNjQwZGRjODlkMDM2LyIsImV4cCI6MTY0MjE5NDY5MH0: Requesting header
WARNING: [generic] Forcing on generic information extractor.
[generic] index.mpd?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3V0L3YxL2U2ZmZiYjk3ZWQ0YzQ4OWU4OWNhNTY5ZTE3OGVlYTkxLzA2YzhkYzEyZGEyNzQ1ZjFiMGI0ZTdjMmMwMzJkZmVmLzg0MmQ0YjhlMmUwMTRmYmJiODdjNjQwZGRjODlkMDM2LyIsImV4cCI6MTY0MjE5NDY5MH0: Downloading webpage
[generic] index.mpd?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3V0L3YxL2U2ZmZiYjk3ZWQ0YzQ4OWU4OWNhNTY5ZTE3OGVlYTkxLzA2YzhkYzEyZGEyNzQ1ZjFiMGI0ZTdjMmMwMzJkZmVmLzg0MmQ0YjhlMmUwMTRmYmJiODdjNjQwZGRjODlkMDM2LyIsImV4cCI6MTY0MjE5NDY5MH0: Extracting information
[info] index.mpd?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3V0L3YxL2U2ZmZiYjk3ZWQ0YzQ4OWU4OWNhNTY5ZTE3OGVlYTkxLzA2YzhkYzEyZGEyNzQ1ZjFiMGI0ZTdjMmMwMzJkZmVmLzg0MmQ0YjhlMmUwMTRmYmJiODdjNjQwZGRjODlkMDM2LyIsImV4cCI6MTY0MjE5NDY5MH0: Downloading 1 format(s): 5
[dashsegments] Total fragments: 24
[download] Destination: encryptedudemy.mp4
WARNING: The download speed shown is only of one thread. This is a known issue and patches are welcome
[download] 100% of 2.29MiB in 00:01
However, as I said, getting keys for decryption is the problem. Someone should give it a try.
There doesn't seem to be any json but there's a cookie value that maybe makes "problems" for scripts to get keys.
I get a response from cloudflare blabla.
They use this additional cancer DRM
https://buydrm.com/keyos-compatibility-matrix/
-
-
I would like to know how to proceed with my purchased (encrypted) udemy courses, if I would like to save them on my hard drive (decrypted)- if anyone could send me a pm about the steps to follow, I would very much appreciate that. So far I would use the python script of a certain github user (part of his name has something to do with the end of life), but I need the decryption key id and decryption key, which I'm unable to find.
-
Last edited by cDArvpAx; 24th Jan 2022 at 01:15.
-
Yes, it's unbelievable, there are also some instructions for reading out the widevine dumps. But how it should go on with Udemy, I unfortunately found nothing publicly.
I've been playing around with WKS-KEY, PsshBox and curlconverter but unfortunately I didn't get to the point. So I would be grateful for any help.Last edited by cDArvpAx; 24th Jan 2022 at 06:03.
Similar Threads
-
Download a DRM video from TV NOW
By Clutter in forum Video Streaming DownloadingReplies: 8Last Post: 6th Jun 2021, 05:11 -
DrM-protected video download
By WelleTy in forum Video Streaming DownloadingReplies: 5Last Post: 5th Apr 2021, 14:10 -
Download DRM protected video and decrypt it with a drm licence url
By vikral in forum Video Streaming DownloadingReplies: 9Last Post: 9th Feb 2021, 02:14 -
Please download this DRM protected
By johocex in forum Video Streaming DownloadingReplies: 5Last Post: 23rd Jan 2021, 13:22 -
video structure on Udemy
By mwrr in forum Newbie / General discussionsReplies: 0Last Post: 21st Nov 2020, 20:05