-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add JSON-based transaction log support #746
Comments
Inside the download archive file is the best place |
Hmm, hadn't though about that. The idea was to run I'm not asking you to add a way of doing this (it feels like a niche feature), but if you come up with a more reliable way than regexing the transaction log and hoping for the best - feel free let me know! Either way - thanks for the help! Keep up the good work :) |
I see, yeah regexing is probably your best bet at this time. What is the use-case for deleting after dl? Another idea is to delete based off of mtime |
I have a custom web server running alongside ytdl-sub in a container. The webserver takes HTTP calls and invokes And this is where being able to get the exact files created by ytdl-sub would be useful :) Have you given any thought to making the regular log/transaction log structured? Or an option to have it structured? A lot of CLI applications have options like |
A json transaction log is a great idea. Going to repurpose this issue for that |
Nice! Do let me know if there's anything I can help with. Otherwise, I'm looking forward to testing it. |
If you're python-savvy, a PR would be appreciated 😉 probably won't get to this for a while as it's low on my priority list |
I'm generally more in the C# camp, but I might take a look :) |
Is there a programmatically reliable way to find out what files a particular command (sub/dl) created?
The transaction log is nice, but it's meant for a human to read, not a machine. Unless I'm missing something?
The text was updated successfully, but these errors were encountered: