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

Can I get youtube-dl to write the details to a log file? #2365

Closed
nickyost opened this issue Feb 11, 2014 · 3 comments
Closed

Can I get youtube-dl to write the details to a log file? #2365

nickyost opened this issue Feb 11, 2014 · 3 comments

Comments

@nickyost
Copy link

@nickyost nickyost commented Feb 11, 2014

I am very experienced with PHP and ColdFusion, but python is new. Is there any way I can get the script to write all the details to a file, like the uploader and description? If possible, in JSON would be great!

What options do I have?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 11, 2014

You can use --write-info-json options like this: youtube-dl --write-info-json http://www.youtube.com/watch?v=BaW_jenozKc

This will create video_name.info.json file containing all metadata available.

@nickyost
Copy link
Author

@nickyost nickyost commented Feb 11, 2014

That sounds great! Very surprised for the quick response, and I really appreciate it!

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 11, 2014

You are very welcome. Do not hesitate to open new issue if you will have more questions/bugreports.

@dstftw dstftw closed this Feb 11, 2014
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.