hacks/tweetbackup/python/main.py
2022-01-07 18:07:25 -08:00

10 lines
217 B
Python

#!/usr/bin/env python3
from twitter_scraper import get_tweets
def main():
for tweet in get_tweets('twitter', pages=1):
print(tweet['username'], ": ", tweet['text'])
if __name__ == "__main__":
main()