Fixes for Google changes
authorJames Bunton <jamesbunton@delx.net.au>
Sat, 19 Jan 2019 02:42:30 +0000 (13:42 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Sat, 19 Jan 2019 02:42:30 +0000 (13:42 +1100)
youtube.cgi

index b57636b..b94febf 100755 (executable)
@@ -181,6 +181,7 @@ def decode_signature(js_url, signature):
             navigator: {
                 userAgent: ''
             },
+            XMLHttpRequest: class XMLHttpRequest {},
             matchMedia: () => ({matches: () => {}, media: ''}),
             signature: %(signature)s,
             transformed_signature: null,