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

Using the output template to save to TXT #23385

Closed
beskhu3epnm opened this issue Dec 12, 2019 · 1 comment
Closed

Using the output template to save to TXT #23385

beskhu3epnm opened this issue Dec 12, 2019 · 1 comment
Labels

Comments

@beskhu3epnm
Copy link

@beskhu3epnm beskhu3epnm commented Dec 12, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

Hi. I simply wish to know how to use the Output template to pull video data such as the upload date and view count and save to a text document. Is this possible to do, and can you provide an example command?

youtube-dl --get-id --get-duration --get-title https://www.youtube.com/watch?v=NEmdbcW7D3Q >> example.txt pulls the ID, duration, and title and saves as a text document, as an example. But I am confused as to how to use the output template.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 12, 2019

--write-info-json                Write video metadata to a .info.json file
@dstftw dstftw closed this Dec 12, 2019
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.