feat(cmd): add subjects. refactor(cmd): handling. fix(nitter): quotes. chore(config): update invidious instances. update deps.
This commit is contained in:
parent
a1dc8200bc
commit
beb8a4520c
6 changed files with 884 additions and 331 deletions
|
@ -24,7 +24,7 @@ const nitter = async (instance, url) => {
|
|||
hasAttachments: !!tweet.querySelector('.tweet-body > .attachments'),
|
||||
quote: quote ? {
|
||||
path: quote.querySelector('a.quote-link').href,
|
||||
text: quote.querySelector('.quote-text').innerHTML,
|
||||
text: quote.querySelector('.quote-text') ? quote.querySelector('.quote-text').innerHTML : '',
|
||||
} : null,
|
||||
isReply: isReply && replies.length > 0 ? replies[replies.length - 1].classList.contains('unavailable') ? 'unavailable' : {
|
||||
path: replies[replies.length - 1].querySelector('a.tweet-link').href,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue