# uses https://github.com/embano1/tw, JSON output stored in file for faster processing
$ tw -f tw.json likes >Downloads/twout.json
# filter only youtube videos and print tweet text
$ cat twout.json | jq '.[]|select( .entities.urls[].expanded_url | contains ("yout"))|.full_text,"----"'
Last active
August 23, 2020 17:01
-
-
Save embano1/1631a6d44eaa7a934807ec80c7cc74e0 to your computer and use it in GitHub Desktop.
jq to filter youtube videos from Twitter likes (uses "tw")
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Find the last 10 tweets and print their
.full_text