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
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 8 of 8
-
Last edited by xyzo; 14th Jan 2020 at 20:35.
-
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
-
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.
-
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. -
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.
-
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. -
Similar Threads
-
Help with Syntax for FFmpeg (sorry... newbie)
By dstewart275 in forum Newbie / General discussionsReplies: 2Last Post: 6th Dec 2017, 16:32 -
Megui 1 pass vs 2 pass for 480p->720p anime ,difference
By zanzar in forum Newbie / General discussionsReplies: 1Last Post: 1st Dec 2016, 14:47 -
Need your help with HTTPS Stream recording via FFMPEG (Key File, Cookies)
By snasdkind in forum Video Streaming DownloadingReplies: 1Last Post: 2nd Aug 2016, 18:01 -
Saving cookies
By Jomapil in forum ComputerReplies: 11Last Post: 12th Jun 2016, 15:27 -
Cookies
By Jomapil in forum ComputerReplies: 7Last Post: 7th May 2016, 23:54