Created
February 10, 2019 14:02
-
-
Save ATouhou/da0c4ac3ec42a9ee156aefb7cded5832 to your computer and use it in GitHub Desktop.
Download from dr.dk (Windows guide)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Download ffmpeg (https://www.videohelp.com/software/ffmpeg) | |
2) Unzip .exe files in your windows folder (ex. C:/Windows) | |
3) Go to the video you want to download. Look in the developer console for XHR request containing index_X_av.m3u8. A file called master.m3u8 contains different m3u8 directories according to which resolution it finds best for your screen. In my case X was 5. | |
4) Open CMD. | |
5) Use the command: | |
ffmpeg -i VIDEO_URL_ENDS_ON_M3U8 -vcodec copy -acodec copy -bsf:a aac_adtstoasc output.mp4 | |
and replace VIDEO_URL_ENDS_ON_M3U8 with the URL that looks something like (https://drod03h-vh.akamaihd.net/i/dk/clear/streaming/7b/zzzzzzzzzzzzzzzzz/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_,273,406,754,1473,2102,3310,.mp4.csmil/index_5_av.m3u8?null=0 | |
6) Video file can be found in "C:/Windows/system32/output.mp4". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment