From: James Bunton Date: Fri, 12 Feb 2016 23:26:35 +0000 (+1100) Subject: fixes to work with recent changes X-Git-Url: https://code.delx.au/youtube-cgi/commitdiff_plain/ac7ebf5a8e4a43d9d2e7c250b79a7c2b7eed90d9 fixes to work with recent changes --- diff --git a/youtube.cgi b/youtube.cgi index 349842f..dfd5d28 100755 --- a/youtube.cgi +++ b/youtube.cgi @@ -177,7 +177,9 @@ def decode_signature(js_url, signature): pushState: function(){} }, document: {}, - navigator: {}, + navigator: { + userAgent: '' + }, signature: %(signature)s, transformed_signature: null };