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

Creating a logfile similar to "--download-archive" (URL, ID, Name, Date and Time) #9464

Open
tuxeos opened this issue May 12, 2016 · 3 comments
Open

Comments

@tuxeos
Copy link

@tuxeos tuxeos commented May 12, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.05.10
  • 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

Description of your issue, suggested solution and other information

I really enjoy using this tool - thank you very much!

Is there a way to log some (accessible) details of the downloaded videos? I'm thinking of somethink like the current output of "--download-archive" but with more details.

I like how I can configure the file output name, but having all these possibilities to create a own logfile-template would be awesome!

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 12, 2016

You can use the --write-info-json and use the information stored in the *.info.json files. Isn't that enough?

@tuxeos
Copy link
Author

@tuxeos tuxeos commented May 16, 2016

Thank you for the answer!

--write-info-json is very good, and includes nearly all of the things I want.

The only thing I'm missing is a timestamp when the file was finished downloading. If it's possible, I'd like to add it somewhere in the json file, so I just have to collect all the information from just that file later on...

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 16, 2016

The only thing I'm missing is a timestamp when the file was finished downloading. If it's possible, I'd like to add it somewhere in the json file, so I just have to collect all the information from just that file later on...

I think you can just check the change time (ctime) of the video file itself.

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
3 participants
You can’t perform that action at this time.