livestreamer
livestreamer copied to clipboard
EOF occurred in violation of protocol
I'm trying to download free video from drupalize.me but I got the error EOF occurred in violation of protocol
.
Full log:
C:\livestreamer-latest>livestreamer "hlsvariant://https://drupalize.me/v/hls_playlist/1386.m3u8" best -o essential_skills_md-1.ts
[cli][info] Found matching plugin stream for URL hlsvariant://https://drupalize.me/v/hls_playlist/1386.m3u8
error: Unable to open URL: https://drupalize.me/v/hls_playlist/1386.m3u8 ([Errno 8] _ssl.c:504: EOF occurred in violation of protocol)
Tested on Windows 7 x64 SP1 with livestreamer 1.12.2 and the letest build from git (http://docs.livestreamer.io/install.html#nightly-build).
I can open https://drupalize.me/v/hls_playlist/1386.m3u8 in browser but livestreamer can't.
EOF occurred in violation of protocol
The server at Drupalize.me uses TLSv1.2. TLSv1.2 support was added in Python 2.7.9 and in Python 3.4. Precompiled Windows binaries contain Python 2.7. It still works properly on Windows, if you install Python 3.5.2 (currently the latest version, available here) and Livestreamer from source.
livestreamer "hlsvariant://https://drupalize.me/v/hls_playlist/1386.m3u8" best -o 1386.ts
[cli][info] Found matching plugin stream for URL hlsvariant://https://drupalize.me/v/hls_playlist/1386.m3u8
[cli][info] Available streams: 240p, 288p, 360p, 432p, 480p, 576p, 720p (best), 73k (worst)
[cli][info] Opening stream: 720p (hls)
[download][1386.ts] Written 51.5 MB (1m54s @ 358.0 KB/s)
[cli][info] Stream ended