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

[YouTube] JSON subtitles not included #11403

Closed
zillionn opened this issue Dec 9, 2016 · 2 comments
Closed

[YouTube] JSON subtitles not included #11403

zillionn opened this issue Dec 9, 2016 · 2 comments
Labels

Comments

@zillionn
Copy link

@zillionn zillionn commented Dec 9, 2016

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 that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.09. 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 2016.12.09

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl --skip-download --print-json --list-subs 'https://www.youtube.com/watch?v=RgKAFK5djSk' -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--skip-download', '--print-json', '--youtube-skip-dash-manifest', '--list-subs', '--no-playlist', 'https://www.youtube.com/watch?v=RgKAFK5djSk', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.09
[debug] Python version 3.5.2 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.2, ffprobe 3.2, rtmpdump 2.3
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

Subtitles are not included in the JSON response when using "--list-subs". The only workaround I found was to use "--write-subs" but this way they are also saved in the working dir and I don't want any files to be downloaded (--skip-download).

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 9, 2016

No JSON output is supposed to be written at all when --list-subs is used,

@dstftw dstftw closed this Dec 9, 2016
@dstftw dstftw added the invalid label Dec 9, 2016
@zillionn
Copy link
Author

@zillionn zillionn commented Dec 9, 2016

I see. OK, how to get a JSON response with all the media files and the subs?

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.