NewPipePlaylistExtractor
NewPipePlaylistExtractor copied to clipboard
Quality-of-life fixes
Hello again! Thank you so much for accepting my last pull request. And for your appreciation.
You mentioned wanting to expand the script, maybe there is a way to make it so we can use the same code for a GUI, and for a CLI like CITGuru/PyInquirer? I don't know, it's a topic I never looked into a lot.
I'm planning to add a couple of CSV formats I'm going to make use for, but for now, I wanted to have you look if you're interested in these commits. Most of them are small tweaks and fixes.
The largest addition here is that now, if fed a .ZIP file, the extractor automatically checks if there is a newpipe.db
file weighing less than 1 GiB (uncompressed), and if so, extracts it to a temporary folder so as to save the user that "effort". There is a way to extract the file directly to memory, but I couldn't find the way to run SQL queries on that.