Download RTVE videos with youtube-dl [SOLVED]

Everything about X, Gnome, KDE, ... and everything running on it

Download RTVE videos with youtube-dl [SOLVED]

Postby Deblib » 2018-05-28 19:50

Hi, youtube-dl won't let me download the videos from the Spanish public television (RTVE) website. Any solution?
Code: Select all
~$ youtube-dl http://www.rtve.es/alacarta/videos/aqui-la-tierra/aqui-tierra-david-otero-hombre-escenarios-campo/4615639/
[rtve.es:alacarta] Fetching manager info
[rtve.es:alacarta] 4615639: Downloading JSON metadata
[rtve.es:alacarta] 4615639: Downloading url information
[download] Destination: Aquí la tierra - David Otero, hombre de escenarios y de campo-4615639.m3u8
ffmpeg version 3.2.10-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[http @ 0x5570c3d6c760] HTTP error 404 Not Found
http://hlsvod.lvlt.rtve.es/auth/resources/TE_NGVA/mp4/3/8/1527447558983.mp4/playlist.m3u8: Server returned 404 Not Found


ERROR: ffmpeg exited with code 1
Last edited by Deblib on 2018-05-31 21:02, edited 1 time in total.
Deblib
 
Posts: 101
Joined: 2016-05-14 14:41

Re: Download RTVE videos with youtube-dl

Postby oswaldkelso » 2018-05-28 21:01

Your link works here on my Dragora box.

Have you made sure youtube-dl is updated?

I run
Code: Select all
# youtube-dl -U
But you should wait and see what a Debian user suggests.
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
User avatar
oswaldkelso
 
Posts: 1128
Joined: 2005-07-26 23:20
Location: UK

Re: Download RTVE videos with youtube-dl

Postby Bulkley » 2018-05-28 22:48

I get the same result as Deblib.
Bulkley
 
Posts: 5601
Joined: 2006-02-11 18:35

Re: Download RTVE videos with youtube-dl

Postby debiman » 2018-05-29 01:44

it downloaded fine here.
Code: Select all
youtube-dl --version
2018.05.09

you know you must not install youtube-dl from the repos?
either clone & regularly pull the github, or just download the executable, and use 'youtube-dl -U' regularly.
User avatar
debiman
 
Posts: 2605
Joined: 2013-03-12 07:18

Re: Download RTVE videos with youtube-dl

Postby Bulkley » 2018-05-29 04:51

It works with the version in MX Linux. You might find an up-to-date version in the Stretch backport. Otherwise try to get the one from MX which should be on Steve Pusser's repository.
Bulkley
 
Posts: 5601
Joined: 2006-02-11 18:35

Re: Download RTVE videos with youtube-dl

Postby stevepusser » 2018-05-29 16:24

The MX Linux repo is part of the project, I don't "own" it like I do my OBS repos...I could add that update to my multimedia OBS repo, though.

The MX deb is located here: http://mxrepo.com/mx/repo/pool/main/y/youtube-dl/

We also have a GUI for youtube-dl which will let you update the app's own version of youtube-dl whenever necessary: http://mxrepo.com/mx/repo/pool/main/y/youtube-dl-gui/
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 28.0.0, wine-staging 3.13, qBittorrent 4.1.2, Linux kernel 4.17.14, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9802
Joined: 2009-10-06 05:53

Re: Download RTVE videos with youtube-dl

Postby Deblib » 2018-05-29 23:02

I use Debian Stretch. Is it possible to install software on it from the MX repository? What version of youtube-dl of this repository should I install?
Deblib
 
Posts: 101
Joined: 2016-05-14 14:41

Re: Download RTVE videos with youtube-dl

Postby stevepusser » 2018-05-30 01:16

MX 17 packages are compatible with Stretch, if they didn't require any extra backports. I make a practice of building them as much as possible in generic Debian environments. In this case, since youtube-dl is a python program and not a compiled binary, it might not make any difference what version you install, though.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 28.0.0, wine-staging 3.13, qBittorrent 4.1.2, Linux kernel 4.17.14, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9802
Joined: 2009-10-06 05:53

Re: Download RTVE videos with youtube-dl

Postby debiman » 2018-05-31 16:32

admitted, the 404 error could have very different reasons.

but esp. youtube itself tends to change its API so often that the most recent release or even the git master of youtube-dl are a MUST .
it is one of the very few programs where it makes sense to not rely on debian package management (and no harm either). and yt-dl devs make it easy for you, just have a quick look on their website.
User avatar
debiman
 
Posts: 2605
Joined: 2013-03-12 07:18

Re: Download RTVE videos with youtube-dl

Postby Deblib » 2018-05-31 21:01

stevepusser wrote:MX 17 packages are compatible with Stretch

I installed this version and it went great. Thank you! :D
Deblib
 
Posts: 101
Joined: 2016-05-14 14:41


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable