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

documentation issue with --dump-json and --output #13316

Closed
keybounce opened this issue Jun 8, 2017 · 0 comments
Closed

documentation issue with --dump-json and --output #13316

keybounce opened this issue Jun 8, 2017 · 0 comments

Comments

@keybounce
Copy link

@keybounce keybounce commented Jun 8, 2017

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 2017.06.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 2017.06.05

Before submitting an issue make sure you have:

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

What is the purpose of your issue?

  • [x ] 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)
  • [ x] Question
  • Other

The docs state:

-j, --dump-json                  Simulate, quiet but print JSON information.
                                 See --output for a description of available
                                 keys.

But --output sets the filename, and winds up altering the json to include

... "Cookie": "hdnea2=expires=1496978694~access=/adultswim/big/secure/tve/2017-05/ASOE1004271700075224_HLS/*~md5=179bc7398ac49178273600f5c3088d9d"}, "fulltitle": "Dragon Ball Z Kai - DBZ Kai 118", "_filename": "test.json"}

Note that "--output test.json" did not save the json, nor was there any docs for the available keys.

@dstftw dstftw closed this in a355b57 Jun 8, 2017
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
1 participant
You can’t perform that action at this time.