From 786ca4fd25323d919ca6d9ec1851e6e53b70a303 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 4 Oct 2020 18:20:12 +0530 Subject: Added recipe for yahoo mail. --- recipes/yahoo-mail/index.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes/yahoo-mail/index.js (limited to 'recipes/yahoo-mail/index.js') 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 @@ +module.exports = (Franz) => + class YahooMail extends Franz { + modifyRequestHeaders() { + return [ + { + headers: { + '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', + }, + requestFilters: { + urls: ['*://*/*'], + } + } + ] + } + }; -- cgit v1.2.3-70-g09d2