fixes to work with recent changes
authorJames Bunton <jamesbunton@delx.net.au>
Fri, 12 Feb 2016 23:26:35 +0000 (10:26 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 12 Feb 2016 23:26:35 +0000 (10:26 +1100)
youtube.cgi

index 349842f..dfd5d28 100755 (executable)
@@ -177,7 +177,9 @@ def decode_signature(js_url, signature):
                 pushState: function(){}
             },
             document: {},
-            navigator: {},
+            navigator: {
+                userAgent: ''
+            },
             signature: %(signature)s,
             transformed_signature: null
         };