Created
October 13, 2024 22:07
-
-
Save theodric/44432ce2f02c6ed6b6e2e30c22f8434f to your computer and use it in GitHub Desktop.
Extract your tweets in plaintext from the tweets.js / tweets-part1.js files inside your Twitter archive, and remove old-fashioned retweets, plain URLs, and other crap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat tweets.js | grep -i full_text | sed -E 's/.*"full_text" *: *"(.*)",/\1/' | egrep -v ^@ | egrep -v ^https:// | egrep -v ^RT > fulltext2.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment