fixed again because of google changes
authorJames Bunton <jamesbunton@delx.net.au>
Fri, 24 Jun 2016 08:21:20 +0000 (18:21 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 24 Jun 2016 08:21:20 +0000 (18:21 +1000)
youtube.cgi

index dfd5d28..2ad3b70 100755 (executable)
@@ -181,7 +181,8 @@ def decode_signature(js_url, signature):
                 userAgent: ''
             },
             signature: %(signature)s,
-            transformed_signature: null
+            transformed_signature: null,
+            g: function(){} // this is _yt_player
         };
         sandbox.window = sandbox;