from this link https://mediasetinfinity.mediaset.it/movie/i2solitiidioti/i-2-soliti-idioti_F305057501000101
yt-dlp have extractor and i can download from m3u8 without drm
if get mpd to download with N_m3u8DL-RE have a drm and need keys
how to find m3u8 link (so no need keys) to download with N_m3u8DL-RE ? (i prefer for best speed on download)
+ Reply to Thread
Results 1 to 19 of 19
-
Last edited by whs912km; 15th Nov 2022 at 07:52.
-
how to find m3u8 link (so no need keys)
-
oh no jack ...
i know stream detector but he find only mpd, cannot find m3u8 link
and also from all dev tool tab i can't find m3u8 link
but you have tested? you can find m3u8? really strange, i don't think that. i've been tried many time before ask help here
thanks ElCap, i can try your hint
and yes, i know -N option or also aria2c but well i need to understand how to yt-dlp can find m3u8 linkLast edited by whs912km; 14th Nov 2022 at 16:11.
-
oh yesss ElCap!
your amazing tip work great. i've found m3u8 link
thank you so much. you are very great helper on this forum
cheers -
First, let me thank ElCap for his post.
Allow me to add an addendum (for windows) that will automate the capture process.
Code:yt-dlp -s --print-traffic "url" | awk " BEGIN{FS=OFS=\"HTTP\"} /m3u8/ { split($1, arr, /GET./); split($2, brr, /\\/); split(brr[3], crr, /:./); print \"https://\"crr[2]arr[2]; }"
-
thanks jack but i have an error:
[Attachment 67648 - Click to enlarge]
however i don't understand how yt-dlp find m3u8 link .... i can't find it in dev tool anywhere ... -
jack my final code is that:
Code:yt-dlp -s --print-traffic "https://mediasetinfinity.mediaset.it/movie/i2solitiidioti/i-2-soliti-idioti_F305057501000101" | awk " BEGIN{FS=OFS=\"HTTP\"} /m3u8/ { split($1, arr, /GET./); split($2, brr, /\\/); split(brr[3], crr, /\:./); print \"https://\"crr[2]arr[2]; }"
[Attachment 67655 - Click to enlarge]Last edited by whs912km; 15th Nov 2022 at 13:06.
-
I copied and pasted your code at my end and it worked fine.
Suggest you break the code into small pieces and debug. -
jacks code worked for me with awk version 3.1.6 but it doesnt work with awk version 5.0.0.
try this
Code:yt-dlp -s --print-traffic "https://mediasetinfinity.mediaset.it/movie/i2solitiidioti/i-2-soliti-idioti_F305057501000101" | awk " BEGIN{FS=OFS=\"HTTP\"} /\.m3u8/ { split($1, arr, /GET./); split($2, brr, /\\\\/); split(brr[3], crr, /:./); print \"https://\"crr[2]arr[2]; }" https://vod02.msf.cdn.mediaset.net/farmunica/2017/03/25131_15acd2378e1965/hlsrc_sampleaes/hd_fp_mpl.m3u8 https://vod02.msf.cdn.mediaset.net/farmunica/2017/03/25131_15acd2378e1965/hlsrc/hd_no_mpl.m3u8
Last edited by ElCap; 17th Nov 2022 at 03:06.
-
wow ElCap, your last code work great!
thank you so much for your post
and thank you also to jack_666 for the original code
see you guys -
I admit to being a Rookie, and prone to Rookie Mistakes
-
nah, its just how many fragments to download in parallel.
you can experiment to see what number works best for your system.
afaik, it should just be high enough to max out your (or the servers) connection.
Multi-threaded fragment downloads: Download multiple fragments of m3u8/mpd videos in parallel. Use --concurrent-fragments (-N) option to set the number of threads used -
Thanks again, ElCap!
I admit to being a Rookie, and prone to Rookie Mistakes -
i suggest to test with 4 / 6 / 10. no more
or use --external-downloader aria2c as alternative to -NLast edited by lomero; 24th Nov 2022 at 03:09.
-
CrymanChen suggested 6 when he explained how to download dash files, and that works so I see no need to mess with it.
I admit to being a Rookie, and prone to Rookie Mistakes
Similar Threads
-
Need help for download with yt-dlp
By sibhus in forum Video Streaming DownloadingReplies: 26Last Post: 19th Feb 2024, 15:02 -
yt-dlp question
By blanc in forum Video Streaming DownloadingReplies: 9Last Post: 26th Mar 2022, 11:00 -
Help with yt-dlp
By Loryanam2 in forum Video Streaming DownloadingReplies: 1Last Post: 5th Jan 2022, 11:57 -
Youtube-dl and Youtube-dlp no longer work with nbc. Help with dl this link?
By PennyHartz in forum Video Streaming DownloadingReplies: 27Last Post: 30th Dec 2021, 01:59 -
Help with yt-dlp downloads
By jeffo in forum Video Streaming DownloadingReplies: 3Last Post: 3rd Dec 2021, 17:40