about summary refs log tree commit diff stats
path: root/python_update (follow)
Commit message (Collapse)AuthorAge
* style(python_update/raw_update.py): FormatBenedikt Peetz2024-10-07
|
* fix(update_raw.py): Only return the needed fields to rustBenedikt Peetz2024-08-24
| | | | | This avoids a spurious failure, when the processed dict contains values, that can't be serialized as JSON (e.g. a LazyList).
* fix(update): Propagate the logging options to the `update_raw.py` scriptBenedikt Peetz2024-08-22
|
* perf(raw_update.py)!: Don't fetch entries that are already in the databaseBenedikt Peetz2024-08-22
| | | | | | | | | | | | | | | | | | | | Testing has resulted in a speed-up of circa 3400% (updates of 1 subscription (which is already fully stored) are now ca. 1 sec from previously 34 sec). BREAKING CHANGE: The extractor hash is now calculated from the `id` and not the `webpage_url` field requiring a complete re-fetch of all stored videos. ```bash $# export your subscriptions: $ yt subs list --urls > subs.txt $# remove the old database $ mv ~/.local/share/yt/videos.sqlite{,.old} $# reimport the subsciptions $ yt subs import subs.txt $# refetch all videos $ yt upadate ```
* chore: Initial CommitBenedikt Peetz2024-08-21
This repository was migrated out of my nixos-config.