aboutsummaryrefslogtreecommitdiffstats
path: root/python_update (unfollow)
Commit message (Collapse)Author
2024-10-07style(python_update/raw_update.py): FormatBenedikt Peetz
2024-08-24fix(update_raw.py): Only return the needed fields to rustBenedikt Peetz
This avoids a spurious failure, when the processed dict contains values, that can't be serialized as JSON (e.g. a LazyList).
2024-08-22fix(update): Propagate the logging options to the `update_raw.py` scriptBenedikt Peetz
2024-08-22perf(raw_update.py)!: Don't fetch entries that are already in the databaseBenedikt Peetz
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 ```