See social network users cryptocurrency addresses and balances. Powered by transparent blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
592 B

import time
import json
from nitter_scraper import NitterScraper
last_tweet_id = None
with NitterScraper(port=8008, container_name="nitter") as nitter:
while True:
for tweet in nitter.get_tweets("monero", pages=1):
if tweet.is_pinned is True:
if tweet.is_retweet is True:
#if tweet.tweet_id != last_tweet_id:
tweetjson = json.loads(tweet.json(indent=4))
#last_tweet_id = tweet.tweet_id