Walkaround To Search Twitter From Linux Command Line

Go down

Walkaround To Search Twitter From Linux Command Line

Post by jamied_uk on 8th May 2018, 18:28

Vid




Code:
#!/bin/bash
# (c) J~Net 2018
# http://jnet.forumotion.com/t1614-walkaround-to-search-twitter-from-linux-command-line
# https://askubuntu.com/questions/210415/how-to-retrieve-tweets-from-command-line
#
# Usage:
#        ./Twitter.sh "string here to search"
#
#
var=$1
#
#
url='http://feeds.feedburner.com/Film-UndKino-trailerVideopodcast?format=xml'
d=$(date +'%d %b %Y')
d="24 Dec 2011"
echo "Checking podcasts for date: ${d}"
wget -q -O- ${url} |\
 grep -A6 "(de)" |\
 grep -A1 "${d}" |\
 egrep -o 'http[^ ]*de.mp4' |\
 sort | uniq


Last edited by jamied_uk on 8th May 2018, 19:04; edited 2 times in total
avatar
jamied_uk
Admin

Posts : 2439
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Walkaround To Search Twitter From Linux Command Line

Post by jamied_uk on 8th May 2018, 18:35

Other

google.com/search?client=firefox-b&ei=aN3xWsmIMoOtgQbpraiQCA&q=how+to+search+twitter+from+linux+bash&oq=how+to+search+twitter+from+linux+bash&gs_l=psy-ab.3..0i71k1l8.2034.2034.0.2442.1.1.0.0.0.0.0.0..0.0....0...1c.1.64.psy-ab..1.0.0....0.Zp56cLjJzmc
avatar
jamied_uk
Admin

Posts : 2439
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum