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

Subtitle downloading sporadically fails #17905

Closed
5 of 9 tasks
arghc opened this issue Oct 16, 2018 · 0 comments
Closed
5 of 9 tasks

Subtitle downloading sporadically fails #17905

arghc opened this issue Oct 16, 2018 · 0 comments

Comments

@arghc
Copy link

arghc commented Oct 16, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.10.05

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Subtitles sporadically do not download. After adding the "-v" to a command in order to report the error, a subtitle that previously did not download did. Others continue not to download but as I rerun the list from time to time one will download.

This is one that worked after not working for a few runs:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-o', u'Charmed.2018.S01E01.Pilot.mp4', u'-v', u'--skip-download', u'--all-subs', u'http://www.cwtv.com/shows/charmed/pilot/?play=b42cf727-384f-453e-9013-572e0ae243e4']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.10.05
[debug] Python version 2.7.14 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-91200-g1616b1be5a-tessus
[debug] Proxy map: {}
[CWTV] b42cf727-384f-453e-9013-572e0ae243e4: Downloading JSON metadata
[ThePlatform] b42cf727-384f-453e-9013-572e0ae243e4: Downloading SMIL data
[ThePlatform] b42cf727-384f-453e-9013-572e0ae243e4: Downloading m3u8 information
[ThePlatform] b42cf727-384f-453e-9013-572e0ae243e4: Downloading m3u8 information
[ThePlatform] b42cf727-384f-453e-9013-572e0ae243e4: Downloading JSON metadata
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: Charmed.2018.S01E01.Pilot.en.vtt
<end of log>

Here's one that continues not to work, for now:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-o', u'Black.Lightning.S01E09.The.Book.of.Little.Black.Lies.mp4', u'--skip-download', u'--all-subs', u'http://www.cwtv.com/shows/black-lightning/the-book-of-little-black-lies/?play=623c25f4-387b-4b3c-aae3-f6ec9b9b8816']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.10.05
[debug] Python version 2.7.14 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-91200-g1616b1be5a-tessus
[debug] Proxy map: {}
[CWTV] 623c25f4-387b-4b3c-aae3-f6ec9b9b8816: Downloading JSON metadata
ERROR: An extractor error has occurred. (caused by KeyError(u'video',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 507, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/cwtv.py", line 71, in _real_extract
    video_id)['video']
KeyError: u'video'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 520, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'video',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
<end of log>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants