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

Cannot download metadata json for YouTube countdown ("Premier") videos #21414

Closed
mariomadproductions opened this issue Jun 16, 2019 · 5 comments
Closed

Comments

@mariomadproductions
Copy link

@mariomadproductions mariomadproductions commented Jun 16, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.06.08
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=q5n6_Elz0GI']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.06.08
[debug] Python version 2.7.13 (CPython) - Linux-4.19.42-v7+-armv7l-with-debian-9.9
[debug] exe versions: avconv 3.2.14-1, avprobe 3.2.14-1, ffmpeg 3.2.14-1, ffprobe 3.2.14-1
[debug] Proxy map: {}
[youtube] q5n6_Elz0GI: Downloading webpage
[youtube] q5n6_Elz0GI: Downloading video info webpage
ERROR: This video is unavailable.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 2077, in _real_extract
    raise ExtractorError(error_message, expected=True)
ExtractorError: This video is unavailable.

Description

Cannot download metadata json (using --write-info-json) for YouTube countdown ("Premier") videos. Using --write-pages I could manually extract the info I wanted (the publication date).

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 16, 2019

This is expected behavior.

@dstftw dstftw closed this Jun 16, 2019
@mariomadproductions
Copy link
Author

@mariomadproductions mariomadproductions commented Jun 16, 2019

Is there no way to force youtube-dl to ignore this error and create the metadata file?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 16, 2019

No.

@mariomadproductions
Copy link
Author

@mariomadproductions mariomadproductions commented Jun 16, 2019

Could you explain why?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 16, 2019

Explain what? This is how it's implemented. Extraction does not make sense without valid media available.

@ytdl-org ytdl-org locked and limited conversation to collaborators Jun 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.