def gettweets(of,person,searching,twitter):
	if not tfl.checktype(['text', 'text', 'text', 'text'],list(reversed(locals().values()))): return 'gettweets is used improperly'
	prefix = 'https://twitter.com/'
	twitterurl = tfl.r_combine([prefix,'and',person])
	results = tfl.r_findtext(['in',twitterurl])
	return results
Ejemplo n.º 2
0
#!/usr/bin/python
import os, sys

sys.path.append("/Users/RWalport/Desktop/Rob_CS/PLT/plt")
import trowelfunctions as tfl

hellocontents = ""
hello = "http://pythonweb.org/projects/webmodules/doc/0.5.3/html_multipage/web/node20.html"
hellocontents = tfl.r_findtext(["in", hello])
tfl.r_print([hellocontents])