Fix for Google change
authorJames Bunton <jamesbunton@delx.net.au>
Wed, 11 Apr 2018 23:17:57 +0000 (09:17 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Wed, 11 Apr 2018 23:17:57 +0000 (09:17 +1000)
youtube.cgi

index c0b5e99..d25a857 100755 (executable)
@@ -181,6 +181,7 @@ def decode_signature(js_url, signature):
             navigator: {
                 userAgent: ''
             },
+            matchMedia: () => ({matches: () => {}, media: ''}),
             signature: %(signature)s,
             transformed_signature: null,
             g: function(){} // this is _yt_player