Mainly, it contains scripts to generate data found in `./data/` such as link:./scripts/create-jobs-from-newpipe-db[a script that is used to generate a jobs database suitable for this task from a NewPipe database].
In this task, I usually just download videos from YouTube.
While I could note every preferred creator manually, I could automate them by getting a list of subscriptions from my Newpipe config which I use surprisingly more often than I thought.
This is done by running the link:./scripts/create-jobs-from-newpipe-db[`./scripts/create-jobs-from-newpipe-db`] script and specifying the exported Newpipe database (as a ZIP file).
Take note there are assumptions to the exported subscription list.
- The folder structure is assumed from the outline.
- Any `<outline>` element with the `title`/`text` attribute is considered valid and as part of the hierarchy.
Otherwise, it is assumed they'll be in a fallback category within the outline.
- The category list is also assumed from the outline, only with the direct children of valid `<outline>` elements. footnote:[The `category` attribute from the RSS nodes is barely taken care of by most of the applications I use. WHY!?!]
- Categories are also extracted from the `category` attribute of each RSS node.
Similarly, it only extracts the head of each category hierarchy (e.g., `Computers` for `/Computers/Science`, `World` for `/World/Countries/Philippines`).
Similar to the Newpipe database script, you can do some nifty things with the script.
Here's the same example from the previous featured script.