From dbc43bfd258d4d7db25b36895a1bfc202361173b Mon Sep 17 00:00:00 2001 From: vantezzen Date: Fri, 31 Jan 2020 17:17:54 +0100 Subject: getferdi/ferdi#320 Update user agents for Google recipes --- uncompressed/googlecalendar/index.js | 10 ++++++---- uncompressed/googlecalendar/package.json | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'uncompressed/googlecalendar') diff --git a/uncompressed/googlecalendar/index.js b/uncompressed/googlecalendar/index.js index 0cec036..fda5f87 100644 --- a/uncompressed/googlecalendar/index.js +++ b/uncompressed/googlecalendar/index.js @@ -1,4 +1,6 @@ -"use strict"; - -module.exports = Franz => Franz; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdvb2dsZWNhbGVuZGFyL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZ29vZ2xlY2FsZW5kYXIvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file +module.exports = Franz => + class googlecalendar extends Franz { + overrideUserAgent() { + return "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"; + } + }; diff --git a/uncompressed/googlecalendar/package.json b/uncompressed/googlecalendar/package.json index 896b5c2..8673ec7 100644 --- a/uncompressed/googlecalendar/package.json +++ b/uncompressed/googlecalendar/package.json @@ -1,7 +1,7 @@ { "id": "googlecalendar", "name": "Google Calendar", - "version": "1.0.0", + "version": "1.0.1", "description": "Google Calendar", "main": "index.js", "author": "Rico Herwig ", -- cgit v1.2.3-70-g09d2