A rough trick to get around the two different json styles medialaan seems to be using. Fix for these example videos: https://vtmkzoom.be/video?aid=45724 https://vtmkzoom.be/video?aid=45425
The old code hit an error when it attempted to parse the string "adaptive" for video height. Actually parsing the returned playlists is a good idea because it adds more output formats, including some audio-only-ones.
addinfourl.getcode is added since Python 2.6a1. As youtube-dl now requires 2.6+, this is no longer necessary. See https://github.com/python/cpython/commit/9b0d46db115c10767b240a0a64286214b50fe6ad
This reverts commit 87dc451108.
87dc451108
Also, there are no tudou playlists anymore. All playlist URLs points to youku playlists.
Used in Youku Show pages
Fixes #13182
[cbsinteractive] update extractor and test cases