mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 02:56:29 +00:00
Skip "message_me" cards
This commit is contained in:
parent
7b766b793b
commit
e7c5085365
1 changed files with 3 additions and 0 deletions
|
@ -233,6 +233,9 @@ proc getTweetCard*(tweet: Tweet; node: XmlNode) =
|
|||
tweet.poll = some Poll()
|
||||
return
|
||||
|
||||
if "message_me" in cardType:
|
||||
return
|
||||
|
||||
let cardDiv = node.select(".card2 > .js-macaw-cards-iframe-container")
|
||||
if cardDiv == nil: return
|
||||
|
||||
|
|
Loading…
Reference in a new issue