diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-06-28 13:18:54 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-06-28 13:18:54 -0700 |
commit | 6e14a8547d05cf02ad72e8415f70072bdf599212 (patch) | |
tree | 2de0b9a76106d89445aac4af0bdfa7bd26110494 /youtube/search.py | |
parent | 0b5d6fe1ed96d6899ed6379275cb18c48ae25688 (diff) | |
download | yt-local-6e14a8547d05cf02ad72e8415f70072bdf599212.tar.lz yt-local-6e14a8547d05cf02ad72e8415f70072bdf599212.tar.xz yt-local-6e14a8547d05cf02ad72e8415f70072bdf599212.zip |
Handle case where embedded player response missing
Change so it extracts other stuff from regular playerResponse
Extract formats from embedded player response, but fallback to
regular one if that doesn't work.
Sometimes there is no 'player' at top_level and the urls are in
the regular playerResponse
Diffstat (limited to 'youtube/search.py')
0 files changed, 0 insertions, 0 deletions