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 8 of 8
Thread
  1. I have spent several hours trying the following syntax but I keep getting an error that I have shown below. The only thing I found was a _video-distributor2_session in the cookies. I keep passing that along but obviously some other information is needed. Any help is appreciated.

    yd Syntax:
    Code:
    youtube-dl --add-header  "Cookie:_video-distributor 2_session=QVYyYk42ZnZIcVA1Zys5V0FXclM4YnNsdE5qamNvRktQTGFXc2JabjVNbTBpY0lZQTJuMDdwd210UlhML2dKek9mS1pGUlE3emplRHpDdjZIczc0eVNjUXorL3RpZmNHOUFvd0pCSTJHVms9LS1TTUROcllKUlVXM0dFMEttcloramxBPT0"   --referer "https://view.vzaar.com/20839645/player?uss_token=2.20200102015030.bfc5a505bd616469d245603291b3733b&apiOn=true"   "https://fable.vzaar.com/v4/uspaes/tyGUzbeU3a04/20839645.ism/.m3u8?ts=1577928043&s=hP7gK8PmvtXrV%2FtB7I01Kn1LPNQ%3D"


    Also with streamlink:

    Code:
    streamlink   --http-cookie "_video-distributor-2_session=QVYyYk42ZnZIcVA1Zys5V0FXclM4YnNsdE5qamNvRktQTGFXc2JabjVNbTBpY0lZQTJuMDdwd210UlhML2dKek9mS1pGUlE3emplRHpDdjZIczc0eVNjUXorL3RpZmNHOUFvd0pCSTJHVms9LS1TTUROcllKUlVXM0dFMEttcloramxBPT0"  --http-header "User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:67.0) Gecko/20100101 Firefox/67.0" --http-header "Referer=https://view.vzaar.com/20839645/player?uss_token=2.20200102015030.bfc5a505bd616469d245603291b3733b&apiOn=true" "hlsvariant://https://fable.vzaar.com/v4/uspaes/tyGUzbeU3a04/20839645.ism/.m3u8?ts=1577928043&s=hP7gK8PmvtXrV%2FtB7I01Kn1LPNQ%3D" best -o output.ts
    Last edited by xyzo; 14th Jan 2020 at 21:35.
    Quote Quote  
  2. Member Emeritus
    Join Date
    May 2014
    Search PM
    If the cookies/header etc. aren't working, it might be easier just to download the keys manually, edit the m3u8, and then use the edited m3u8 as input to ffmpeg.

    For example; 20839645.zip

    Code:
    ffmpeg.exe -allowed_extensions ALL -protocol_whitelist "file,http,https,tcp,tls,crypto" -i "20839645-audio_eng=78601-video=249000.m3u8" -c copy output.ts
    Quote Quote  
  3. Thankyou! I confirm that it works., Out of curiosity, can I pass the key value as a param to yd. It would be so much quicker to just pass headers, and key value with the m3u8.. This makes it easier to put everything in a script.
    Quote Quote  
  4. Member Emeritus
    Join Date
    May 2014
    Search PM
    Are you using latest youtube-dl version? vzaar.py was updated a month ago.

    h..ps://view.vzaar.com/xxxxxxxx/player?uss_token=x

    ^ this type of url should work directly with youtube-dl, without having to specify the m3u8.
    Quote Quote  
  5. I Just updated yd to version 2020. It was version 2017 that was running.
    Hmm I tried with uss_token url but yd says no video format found.
    Code:
    youtube-dl -v --cookies ../../Downloads/cookies.txt  --verbose "https://view.vzaar.com/20699328/player?uss_token=2.20200103052516.2b91e3c01fe65f10beb74ac9d3860c0b&apiOn=true&hideFullScreen=true"
    
    [debug] System config: []
    [debug] User config: []
    [debug] Custom config: []
    [debug] Command-line args: [u'-v', u'--cookies', u'../../Downloads/cookies.txt', u'--verbose', u'https://view.vzaar.com/20699328/player?uss_token=2.20200103052516.2b91e3c01fe65f10beb74ac9d3860c0b&apiOn=true&hideFullScreen=true']
    [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
    [debug] youtube-dl version 2020.01.01
    [debug] Python version 2.7.13 (CPython) - Linux-4.14.119-2.pvops.qubes.x86_64-x86_64-with-debian-9.11
    [debug] exe versions: ffmpeg 3.2.14-1, ffprobe 3.2.14-1, rtmpdump 2.4
    [debug] Proxy map: {}
    [Vzaar] 20699328: Downloading JSON metadata
    ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
    Quote Quote  
  6. Member Emeritus
    Join Date
    May 2014
    Search PM
    The uss_token may expire quickly. Try it instead with just the m3u8 url, just in case youtube-dl may still do the "goose" substitution.

    Don't worry about cookies or headers.

    If it doesn't work, report on youtube-dl github.

    Otherwise just get the key separately as described. No cookies or headers required.

    If this is too much work because you have millions of these videos that you need to download, you still could write a script to download the key and m3u8 separately with curl.
    Quote Quote  
  7. Thank you! I appreciate your help.
    Quote Quote  
  8. Originally Posted by ponens View Post
    If the cookies/header etc. aren't working, it might be easier just to download the keys manually, edit the m3u8, and then use the edited m3u8 as input to ffmpeg.

    For example; 20839645.zip

    Code:
    ffmpeg.exe -allowed_extensions ALL -protocol_whitelist "file,http,https,tcp,tls,crypto" -i "20839645-audio_eng=78601-video=249000.m3u8" -c copy output.ts
    you can help me , i can't not download but i have AES Key , can't download
    Quote Quote  



Similar Threads

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