diff options
author | 2020-01-31 17:17:54 +0100 | |
---|---|---|
committer | 2020-01-31 17:17:54 +0100 | |
commit | dbc43bfd258d4d7db25b36895a1bfc202361173b (patch) | |
tree | 4ce85b1b97f18e4463ece01fd04f724cfba0fcc6 /uncompressed/googledrive | |
parent | #17 Add MonicaHQ (diff) | |
download | ferdium-recipes-dbc43bfd258d4d7db25b36895a1bfc202361173b.tar.gz ferdium-recipes-dbc43bfd258d4d7db25b36895a1bfc202361173b.tar.zst ferdium-recipes-dbc43bfd258d4d7db25b36895a1bfc202361173b.zip |
getferdi/ferdi#320 Update user agents for Google recipes
Diffstat (limited to 'uncompressed/googledrive')
-rw-r--r-- | uncompressed/googledrive/index.js | 7 | ||||
-rw-r--r-- | uncompressed/googledrive/package.json | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/uncompressed/googledrive/index.js b/uncompressed/googledrive/index.js index 9157a2e..68ab282 100644 --- a/uncompressed/googledrive/index.js +++ b/uncompressed/googledrive/index.js | |||
@@ -1 +1,6 @@ | |||
1 | module.exports = Franz => Franz; \ No newline at end of file | 1 | module.exports = Franz => |
2 | class googledrive extends Franz { | ||
3 | overrideUserAgent() { | ||
4 | return "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"; | ||
5 | } | ||
6 | }; | ||
diff --git a/uncompressed/googledrive/package.json b/uncompressed/googledrive/package.json index 9e228a1..3efe592 100644 --- a/uncompressed/googledrive/package.json +++ b/uncompressed/googledrive/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "googledrive", | 2 | "id": "googledrive", |
3 | "name": "Google Drive", | 3 | "name": "Google Drive", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "description": "Google Drive", | 5 | "description": "Google Drive", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Djonathan Goulart<d.goulart@outlook.com.br>", | 7 | "author": "Djonathan Goulart<d.goulart@outlook.com.br>", |