]> code.delx.au - youtube-cgi/commitdiff
fixed downloader
authorJames Bunton <jamesbunton@delx.net.au>
Thu, 14 May 2015 11:31:44 +0000 (21:31 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Thu, 14 May 2015 11:31:44 +0000 (21:31 +1000)
youtube.cgi

index da6109c27b47ced33f153b60319cf7ebf8e55a36..3149343fe286d9281fa595dcc181bc5acdff5ab7 100755 (executable)
@@ -172,7 +172,8 @@ def decode_signature(js_url, signature):
                 location: {},
                 history: {
                     pushState: function(){}
                 location: {},
                 history: {
                     pushState: function(){}
-                }
+                },
+                navigator: {}
             },
             document: {},
             navigator: {},
             },
             document: {},
             navigator: {},