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

410 Gone with -f bestvideo on YouTube #4532

Open
ivan opened this issue Dec 21, 2014 · 8 comments
Open

410 Gone with -f bestvideo on YouTube #4532

ivan opened this issue Dec 21, 2014 · 8 comments

Comments

@ivan
Copy link
Contributor

@ivan ivan commented Dec 21, 2014

YouTube reports that it has format 299 for https://www.youtube.com/watch?v=zj2qtLCxmfE when it doesn't, causing -f bestvideo to fail:

$ PYTHONPATH=. python3 ./bin/youtube-dl -f bestvideo "https://www.youtube.com/watch?v=zj2qtLCxmfE"
[youtube] zj2qtLCxmfE: Downloading webpage
[youtube] zj2qtLCxmfE: Extracting video information
[youtube] zj2qtLCxmfE: Downloading DASH manifest
[download] Resuming download at byte 1047552
ERROR: unable to download video data: HTTP Error 410: Gone

$ PYTHONPATH=. python3 ./bin/youtube-dl -f 299 "https://www.youtube.com/watch?v=zj2qtLCxmfE"      
[youtube] zj2qtLCxmfE: Downloading webpage
[youtube] zj2qtLCxmfE: Extracting video information
[youtube] zj2qtLCxmfE: Downloading DASH manifest
[download] Resuming download at byte 1047552
ERROR: unable to download video data: HTTP Error 410: Gone

It does have the VP9 format 303, though.

It's been that way for a month, so it's not a temporary YouTube error.

Related: #2352 where YouTube is reporting that it has format 43 for m34r0BLy5YU but doesn't.

Maybe it's worth dropping to the next format when getting a 410 Gone?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 21, 2014

On the first run I get content too short errors, so I guess it's a YouTube error. And they are listing the format both in the video webpage and in the dash manifest, so we can't filter it.

@ivan
Copy link
Contributor Author

@ivan ivan commented Mar 18, 2015

Format 299 for this particular video was fixed on YouTube's side.

@ivan ivan closed this Mar 18, 2015
@ivan
Copy link
Contributor Author

@ivan ivan commented Mar 18, 2015

Never mind, I checked incorrectly.

@ivan ivan reopened this Mar 18, 2015
@fstirlitz
Copy link
Contributor

@fstirlitz fstirlitz commented Jun 4, 2015

Another video, same issue; this time with -f bestaudio. The video stream downloads normally.

$ youtube-dl -v VoxZuggJk0I -f bestaudio
[debug] System config: []
[debug] User config: ['--continue', '--add-metadata', '--merge-output-format', 'mkv']
[debug] Command-line args: ['--xattrs', '-v', 'VoxZuggJk0I', '-f', 'bestaudio']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.29
[debug] Python version 3.4.3 - Linux-4.0.4-2-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg N-72229-gb44a55a, ffprobe N-72229-gb44a55a, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] VoxZuggJk0I: Downloading webpage
[youtube] VoxZuggJk0I: Extracting video information
[youtube] VoxZuggJk0I: Downloading DASH manifest
[debug] Invoking downloader on '[DATA EXPUNGED]'
ERROR: unable to download video data: HTTP Error 410: Gone
@ivan
Copy link
Contributor Author

@ivan ivan commented Jun 28, 2015

Also happens for https://www.youtube.com/watch?v=p7jUrkfMtr4 - getting bestvideo (format 248) results in 410 Gone.

@avih
Copy link

@avih avih commented Oct 17, 2015

Same with https://www.youtube.com/watch?v=OAPOhk4A7ps (video plays fine, 410 gone for the audio, plays fine with audio in Firefox and HTML5 video).

@starrychloe
Copy link

@starrychloe starrychloe commented Jun 7, 2016

Related, for audio: #9715

@christiangenco
Copy link

@christiangenco christiangenco commented Sep 8, 2016

For posterity, these errors can be ignored with the --ignore-errors flag.

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
6 participants
You can’t perform that action at this time.