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

truncated (quickly) get #1468

Closed
mikenewton opened this issue Sep 20, 2013 · 0 comments
Closed

truncated (quickly) get #1468

mikenewton opened this issue Sep 20, 2013 · 0 comments

Comments

@mikenewton
Copy link

@mikenewton mikenewton commented Sep 20, 2013

Summary: On at least some youtube videos, only the first small fraction are downloaded. Failures occur with " ERROR: content too short (expected 887562491 bytes and served 4195009)"

Details:

Note that these are long videos. They do play on the youtube site.

Sometimes the failure is quick (as below), sometimes after 1-2 mins.

First - see what is available:

$ youtube-dl -F -o mayan9a.mp4 -r 4m 'https://www.youtube.com/watch?v=xUOBNW11Yeg'
[youtube] Setting language
[youtube] xUOBNW11Yeg: Downloading video webpage
[youtube] xUOBNW11Yeg: Downloading video info webpage
[youtube] xUOBNW11Yeg: Extracting video information
Available formats:
22 : mp4 [720x1280]
45 : webm [720x1280]
35 : flv [480x854]
44 : webm [480x854]
34 : flv [360x640]
18 : mp4 [360x640]
43 : webm [360x640]
5 : flv [240x400]
36 : 3gp [240x320]
17 : 3gp [144x176]
136 : mp4 [720p](DASH Video)
135 : mp4 [480p](DASH Video)
134 : mp4 [360p](DASH Video)
133 : mp4 [240p](DASH Video)
160 : mp4 [192p](DASH Video)
141 : mp4 [256k](DASH Audio)
140 : mp4 [128k](DASH Audio)
139 : mp4 [48k](DASH Audio)

But...

$ youtube-dl -f 22/45 -o mayan9a2.mp4 -r 4m 'https://www.youtube.com/watch?v=xUOBNW11Yeg'
[youtube] Setting language
[youtube] xUOBNW11Yeg: Downloading video webpage
[youtube] xUOBNW11Yeg: Downloading video info webpage
[youtube] xUOBNW11Yeg: Extracting video information
[download] Destination: mayan9a2.mp4
[download] 100% of 846.45MiB in 00:01
ERROR: content too short (expected 887562491 bytes and served 4195009)

$ youtube-dl -f 45/22 -o mayan9a4.mp4 -r 500k
'https://www.youtube.com/watch?v=xUOBNW11Yeg'
[youtube] Setting language
[youtube] xUOBNW11Yeg: Downloading video webpage
[youtube] xUOBNW11Yeg: Downloading video info webpage
[youtube] xUOBNW11Yeg: Extracting video information
ERROR: Did not get any data blocks

$ youtube-dl -f 22/45 -o mayan9a5.mp4 -r 500k 'https://www.youtube.com/watch?v=xUOBNW11Yeg'
[youtube] Setting language
[youtube] xUOBNW11Yeg: Downloading video webpage
[youtube] xUOBNW11Yeg: Downloading video info webpage
[youtube] xUOBNW11Yeg: Extracting video information
[download] Destination: mayan9a5.mp4
[download] 100% of 846.45MiB in 00:08
ERROR: content too short (expected 887562491 bytes and served 4195009)

$ youtube-dl --version
2013.09.20
$ python --version
Python 2.7.3
$ cat /etc/issue
Ubuntu 12.04.3 LTS \n \l

$ uname -a
Linux x 3.2.0-49-generic #75-Ubuntu SMP Tue Jun 18 17:39:32 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

@dstftw dstftw closed this Apr 10, 2016
yan12125 added a commit that referenced this issue Jan 11, 2018
* [ximalaya_extractor] Add new extractor

* format change according by flake8

* changes accoring to review by @yan12125 at github pull #14687

* change %d to %s in a temp str

* seond changes accoring to review by @yan12125 at github pull #1468

* improve TESTS about contains

* changes accoring to third review by @yan12125 at github pull #1468

* forth changes accoring to forth review by @yan12125 at github pull #1468
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
2 participants
You can’t perform that action at this time.