]> code.delx.au - youtube-cgi/blobdiff - youtube.cgi
fixed again because of google changes
[youtube-cgi] / youtube.cgi
index 349842fb24b03f22789edfd1e38603bb9583e87c..2ad3b70de18c9109f02225a2a10de707592f016d 100755 (executable)
@@ -177,9 +177,12 @@ def decode_signature(js_url, signature):
                 pushState: function(){}
             },
             document: {},
-            navigator: {},
+            navigator: {
+                userAgent: ''
+            },
             signature: %(signature)s,
-            transformed_signature: null
+            transformed_signature: null,
+            g: function(){} // this is _yt_player
         };
         sandbox.window = sandbox;