diff options
Diffstat (limited to 'recipes/googleclassroom')
-rw-r--r-- | recipes/googleclassroom/index.js | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/recipes/googleclassroom/index.js b/recipes/googleclassroom/index.js index c9bd550..b9fea14 100644 --- a/recipes/googleclassroom/index.js +++ b/recipes/googleclassroom/index.js | |||
@@ -1,11 +1,3 @@ | |||
1 | var os = require('os') | ||
2 | |||
3 | module.exports = Franz => | 1 | module.exports = Franz => |
4 | class googleclassroom extends Franz { | 2 | class GoogleClassroom extends Franz { |
5 | overrideUserAgent() { | 3 | }; |
6 | if (os.platform() == 'linux') | ||
7 | return "Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" | ||
8 | else | ||
9 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | ||
10 | } | ||
11 | }; \ No newline at end of file | ||