]> jfr.im git - yt-dlp.git/commit - yt_dlp/utils.py
[utils] Fix `InAdvancePagedList.__getitem__`
authorpukkandan <redacted>
Mon, 9 Aug 2021 22:10:40 +0000 (03:40 +0530)
committerpukkandan <redacted>
Mon, 9 Aug 2021 23:15:25 +0000 (04:45 +0530)
commit7be9ccff0bc82c0dd48b88b4f2570e5b504da9f3
tree13067c6948c33e46b714d6728c1543977a17588f
parent245d43cacfea78c04f8ce52e5a03267bb67b988f
[utils] Fix `InAdvancePagedList.__getitem__`

Since it didn't have any cache, the page was re-fetched for each video.
* Also generalized the cache code
yt_dlp/utils.py