VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 19 of 19
Thread
  1. 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)
    Last edited by whs912km; 15th Nov 2022 at 07:52.
    Quote Quote  
  2. how to find m3u8 link (so no need keys)
    You can find m3u8 link in the same way that you find the mpd link. (Search the Network panel or use the Stream Detector browser addon)
    Quote Quote  
  3. Code:
    yt-dlp -s --print-traffic "url"
    Find the m3u8 url and copy it

    Or you can add "-N 8" to use 8 threads with yt-dlp (increase it if you want)
    Or you can use "--downloader aria2c" to use aria2c to download with yt-dlp
    Both will speed up downloading with yt-dlp
    Quote Quote  
  4. 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 link
    Last edited by whs912km; 14th Nov 2022 at 16:11.
    Quote Quote  
  5. 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
    Quote Quote  
  6. 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]; }"
    Quote Quote  
  7. thanks jack but i have an error:

    Image
    [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 ...
    Quote Quote  
  8. replace split(brr[3], crr, /:./) with split(brr[3], crr, /\:./)
    Quote Quote  
  9. 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]; }"
    but have the same previous error:

    Image
    [Attachment 67655 - Click to enlarge]
    Last edited by whs912km; 15th Nov 2022 at 13:06.
    Quote Quote  
  10. I copied and pasted your code at my end and it worked fine.








    Suggest you break the code into small pieces and debug.
    Quote Quote  
  11. wired
    for me work fine yt-dlp -s --print-traffic "url"
    but your code give me an error (and it work for you ...!??)

    how to solve this? your code help me also for other situation
    Quote Quote  
  12. 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.
    Quote Quote  
  13. 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
    Quote Quote  
  14. it's possible to change the title of this thread?
    i think it's better "how to exctract m3u8 link from yt-dlp" instead "how work yt-dlp" also for future users interested in this topic

    if possible, how do i change the title of a thread? i don't find this option ...
    Quote Quote  
  15. Ret. Hippie Guitar Player Axel Slingerland's Avatar
    Join Date
    Jul 2020
    Location
    The Lost Coast
    Search Comp PM
    Originally Posted by ElCap View Post
    Code:
    yt-dlp -s --print-traffic "url"
    Or you can add "-N 8" to use 8 threads with yt-dlp (increase it if you want)
    Does that depend on how many threads your CPU has? The reason I ask is the specs for my CPU say 6 cores and 6 threads, and I have no idea exactly what that means...
    I admit to being a Rookie, and prone to Rookie Mistakes
    Quote Quote  
  16. 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
    Quote Quote  
  17. Ret. Hippie Guitar Player Axel Slingerland's Avatar
    Join Date
    Jul 2020
    Location
    The Lost Coast
    Search Comp PM
    Thanks again, ElCap!
    I admit to being a Rookie, and prone to Rookie Mistakes
    Quote Quote  
  18. i suggest to test with 4 / 6 / 10. no more

    or use --external-downloader aria2c as alternative to -N
    Last edited by lomero; 24th Nov 2022 at 03:09.
    Quote Quote  
  19. Ret. Hippie Guitar Player Axel Slingerland's Avatar
    Join Date
    Jul 2020
    Location
    The Lost Coast
    Search Comp PM
    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
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!