aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/yahoo-mail/index.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2020-10-04 18:20:12 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2020-10-04 18:52:59 +0530
commit786ca4fd25323d919ca6d9ec1851e6e53b70a303 (patch)
tree2a4cea69c5dadbf234da4cccac08e0d3c374285c /recipes/yahoo-mail/index.js
parentMerge pull request #307 from kris7t/gmail-unread-count (diff)
downloadferdium-recipes-786ca4fd25323d919ca6d9ec1851e6e53b70a303.tar.gz
ferdium-recipes-786ca4fd25323d919ca6d9ec1851e6e53b70a303.tar.zst
ferdium-recipes-786ca4fd25323d919ca6d9ec1851e6e53b70a303.zip
Added recipe for yahoo mail.
Diffstat (limited to 'recipes/yahoo-mail/index.js')
-rw-r--r--recipes/yahoo-mail/index.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/yahoo-mail/index.js b/recipes/yahoo-mail/index.js
new file mode 100644
index 0000000..599e93c
--- /dev/null
+++ b/recipes/yahoo-mail/index.js
@@ -0,0 +1,15 @@
1module.exports = (Franz) =>
2 class YahooMail extends Franz {
3 modifyRequestHeaders() {
4 return [
5 {
6 headers: {
7 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36',
8 },
9 requestFilters: {
10 urls: ['*://*/*'],
11 }
12 }
13 ]
14 }
15 };