Skip to content

Instantly share code, notes, and snippets.

@roobre
Last active July 21, 2020 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roobre/ee986746484a5ae7980060dc51603fdd to your computer and use it in GitHub Desktop.
Save roobre/ee986746484a5ae7980060dc51603fdd to your computer and use it in GitHub Desktop.
Cute clock module hand curated by Plubio
#!/usr/bin/env python3
import re
from twitter_scraper import get_tweets
for tweet in get_tweets('cosmicgazer_', pages=3):
if re.search('\d{1,2}:\d{1,2}', tweet['text']):
print(tweet['text'][:16])
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment