diff options
author | garret <garret@airmail.cc> | 2023-09-25 13:10:09 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2023-09-25 13:10:09 +0100 |
commit | 037b824cb1644a65f8b67e1300700df689ea1a99 (patch) | |
tree | f8c67092fb7c1a6c20899374a308f20b7ca8dc16 /tests/test_tokens.py | |
parent | 15012800ad2049ca7ea3ea0a17fe5f7755d5c268 (diff) | |
download | yt-dlp-rajiko-037b824cb1644a65f8b67e1300700df689ea1a99.tar.gz yt-dlp-rajiko-037b824cb1644a65f8b67e1300700df689ea1a99.tar.bz2 yt-dlp-rajiko-037b824cb1644a65f8b67e1300700df689ea1a99.zip |
Cache station metadata for a day
Station metadata changes extremely rarely, if ever, so it seems awfully
silly to keep downloading the exact same metadata every time we extract.
Wastes requests, wastes time (300ms round trip for me)
This commit makes it so station metadata is cached for a day, and cached
data is used in place of downloaded metadata when available.
Closes #16
Diffstat (limited to 'tests/test_tokens.py')
0 files changed, 0 insertions, 0 deletions