aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/test_tokens.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2023-09-25 13:10:09 +0100
committergarret <garret@airmail.cc>2023-09-25 13:10:09 +0100
commit037b824cb1644a65f8b67e1300700df689ea1a99 (patch)
treef8c67092fb7c1a6c20899374a308f20b7ca8dc16 /tests/test_tokens.py
parent15012800ad2049ca7ea3ea0a17fe5f7755d5c268 (diff)
downloadyt-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