diff options
author | vantezzen <hello@vantezzen.io> | 2020-01-31 17:17:54 +0100 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2020-01-31 17:17:54 +0100 |
commit | dbc43bfd258d4d7db25b36895a1bfc202361173b (patch) | |
tree | 4ce85b1b97f18e4463ece01fd04f724cfba0fcc6 /uncompressed/googledrive/index.js | |
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/index.js')
-rw-r--r-- | uncompressed/googledrive/index.js | 7 |
1 files changed, 6 insertions, 1 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 | }; | ||