Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rtve.es:alacarta] ERROR: content too short #6023

Closed
rewerwer opened this issue Jun 19, 2015 · 4 comments
Closed

[rtve.es:alacarta] ERROR: content too short #6023

rewerwer opened this issue Jun 19, 2015 · 4 comments

Comments

@rewerwer
Copy link

@rewerwer rewerwer commented Jun 19, 2015

$ youtube-dl --verbose http://www.rtve.es/alacarta/videos/orbita-laika/orbita-laika-programa-8/2975760/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.rtve.es/alacarta/videos/orbita-laika/orbita-laika-programa-8/2975760/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.04.1
[debug] Python version 3.4.3 - Linux-4.0.5
[debug] exe versions: ffmpeg 2.7, ffprobe 2.7, rtmpdump 2.4
[debug] Proxy map: {}
[rtve.es:alacarta] Fetching manager info
[rtve.es:alacarta] 2975760: Downloading JSON metadata
[rtve.es:alacarta] 2975760: Downloading url information
[rtve.es:alacarta] 2975760: Getting video url
[debug] Invoking downloader on 'http://mvod1.akcdn.rtve.es/resources/TE_NGVA/mp4/8/4/1422835816348.mp4?primaryToken=1433696287_4f1292bfc2e6d2186c49f3b0c143cd98'
[download] Destination: Órbita Laika - Programa 8-2975760.mp4
[download]   3.5% of 342.47MiB at 131.94KiB/s ETA 16:59ERROR: content too short (expected 359110940 bytes and served 12582912)
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1435, in process_info
    success = dl(filename, info_dict)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1377, in dl
    return fd.download(name, info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/downloader/common.py", line 342, in download
    return self.real_download(filename, info_dict)
  File "/usr/lib/python3.4/site-packages/youtube_dl/downloader/http.py", line 219, in real_download
    raise ContentTooShortError(byte_counter, int(data_len))
youtube_dl.utils.ContentTooShortError: (12582912, 359110940)
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 19, 2015

It should be a network problem. Could you try again?

@rewerwer
Copy link
Author

@rewerwer rewerwer commented Jun 19, 2015

It's not a network problem (well, not in my side).

I can download the videos from this show http://www.rtve.es/alacarta/videos/la-2-noticias/ but the videos from http://www.rtve.es/alacarta/videos/orbita-laika/ always fail.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 21, 2015

What's the result of the following command?

wget "http://mvod1.akcdn.rtve.es/resources/TE_NGVA/mp4/8/4/1422835816348.mp4?primaryToken=1433696287_4f1292bfc2e6d2186c49f3b0c143cd98"

And, is the downloaded file from the command above 359110940 bytes?

@rewerwer
Copy link
Author

@rewerwer rewerwer commented Jun 22, 2015

Yes, 359110940 (I used curl instead of wget).

@dstftw dstftw closed this in a3c3a1e Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.