From ac7ebf5a8e4a43d9d2e7c250b79a7c2b7eed90d9 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sat, 13 Feb 2016 10:26:35 +1100 Subject: [PATCH] fixes to work with recent changes --- youtube.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }; -- 2.39.2