diff options
author | Jesus <heckyel@riseup.net> | 2023-09-11 04:13:48 +0800 |
---|---|---|
committer | Jesus <heckyel@riseup.net> | 2023-09-11 04:13:56 +0800 |
commit | 5594d017e28a5524a97da8e9f9b113737c431415 (patch) | |
tree | a52dfd2be552f03af6b5b007a16092068096d16c /youtube/static/js/common.js | |
parent | 8f9c5eeb4824fed924c5550e7fc77270995b18ba (diff) | |
download | yt-local-5594d017e28a5524a97da8e9f9b113737c431415.tar.lz yt-local-5594d017e28a5524a97da8e9f9b113737c431415.tar.xz yt-local-5594d017e28a5524a97da8e9f9b113737c431415.zip |
Fix related vids, like_count, playlist sometimes missing
Cause is that some pages have the onResponseReceivedEndpoints key
at the top level with useless stuff in it, and the extract_items
function was searching in that instead of the 'contents' key.
Change to use if blocks instead of elif blocks in the
extract_items function.
Diffstat (limited to 'youtube/static/js/common.js')
0 files changed, 0 insertions, 0 deletions