fix(429): our nitter instance it too populated, switch defaults until instance bounce handling. fix(styling): use checkmark in config.
This commit is contained in:
parent
695a3bd0ee
commit
430fb350c1
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ const nitter = async (instance, url) => {
|
||||||
|
|
||||||
const card = (tweet, base, check, path) =>
|
const card = (tweet, base, check, path) =>
|
||||||
`<a href="${base}/${tweet.handle.replace(/^@/, '')}"><b>${tweet.name}</b></a> ` +
|
`<a href="${base}/${tweet.handle.replace(/^@/, '')}"><b>${tweet.name}</b></a> ` +
|
||||||
(tweet.check ? check : '') +
|
(tweet.check ? `${check} ` : '') +
|
||||||
`<a href="${base}${path}"><b>${tweet.date}</b></a> ` +
|
`<a href="${base}${path}"><b>${tweet.date}</b></a> ` +
|
||||||
`<span>🗨️ ${tweet.stats.replies}</span> ` +
|
`<span>🗨️ ${tweet.stats.replies}</span> ` +
|
||||||
`<span>🔁 ${tweet.stats.retweets}</span> ` +
|
`<span>🔁 ${tweet.stats.retweets}</span> ` +
|
||||||
|
|
|
@ -21,7 +21,7 @@ module.exports = {
|
||||||
userAgent: 'Mozilla/4.0 (compatible; Beep Boop)'
|
userAgent: 'Mozilla/4.0 (compatible; Beep Boop)'
|
||||||
},
|
},
|
||||||
nitter: {
|
nitter: {
|
||||||
domain: 'nitter.net',
|
domain: 'nitter.fdn.fr',
|
||||||
userAgent: 'Mozilla/4.0 (compatible; Beep Boop)',
|
userAgent: 'Mozilla/4.0 (compatible; Beep Boop)',
|
||||||
domains: [ 'nitter.net', 'www.nitter.net', 'twitter.com', 'www.twitter.com' ],
|
domains: [ 'nitter.net', 'www.nitter.net', 'twitter.com', 'www.twitter.com' ],
|
||||||
check: '(✅)'
|
check: '(✅)'
|
||||||
|
|
Loading…
Reference in a new issue