diff options
author | James Taylor <user234683@users.noreply.github.com> | 2021-08-07 17:18:48 -0700 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-09 12:13:52 -0500 |
commit | 2039972ab32ac7d7ceb6be811a7d7d9019377b2c (patch) | |
tree | 6b5a6e588b90a7f0869921909fe3cb9344147157 /youtube/templates/base.html | |
parent | 3dee7ea0d1156642d02f504b9229676b287ddf0a (diff) | |
download | yt-local-2039972ab32ac7d7ceb6be811a7d7d9019377b2c.tar.lz yt-local-2039972ab32ac7d7ceb6be811a7d7d9019377b2c.tar.xz yt-local-2039972ab32ac7d7ceb6be811a7d7d9019377b2c.zip |
Fix (dis)like, music list extraction due to YouTube changes (again)
YouTube reverted the changes they made that prompted f9f5d5ba.
In case they change their minds again, this adds support for both
formats.
The liberal_update and conservative_update functions needed to be
modified to handle the cases of empty lists, so that
a successfully extracted 'music_list': [{'Author':...},...] will
not be overwritten by 'music_list': [] in the calls to
liberal_dict_update.
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'youtube/templates/base.html')
0 files changed, 0 insertions, 0 deletions