From 430fb350c15ead06553f089ccf12ae8ffac434a3 Mon Sep 17 00:00:00 2001 From: vulet Date: Wed, 3 Feb 2021 12:13:05 +0800 Subject: [PATCH] fix(429): our nitter instance it too populated, switch defaults until instance bounce handling. fix(styling): use checkmark in config. --- commands/nitter.js | 2 +- config.example.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/nitter.js b/commands/nitter.js index d85dee4..4146fdd 100644 --- a/commands/nitter.js +++ b/commands/nitter.js @@ -40,7 +40,7 @@ const nitter = async (instance, url) => { const card = (tweet, base, check, path) => `${tweet.name} ` + -(tweet.check ? check : '') + +(tweet.check ? `${check} ` : '') + `${tweet.date} ` + `🗨️ ${tweet.stats.replies} ` + `🔁 ${tweet.stats.retweets} ` + diff --git a/config.example.js b/config.example.js index 2f7dd52..2f909fd 100644 --- a/config.example.js +++ b/config.example.js @@ -21,7 +21,7 @@ module.exports = { userAgent: 'Mozilla/4.0 (compatible; Beep Boop)' }, nitter: { - domain: 'nitter.net', + domain: 'nitter.fdn.fr', userAgent: 'Mozilla/4.0 (compatible; Beep Boop)', domains: [ 'nitter.net', 'www.nitter.net', 'twitter.com', 'www.twitter.com' ], check: '(✅)'