I'm new from python and I'm having some issue in doing a simple thing.
I've an html page and I want to analyze it and grab some links inside a spcific table.
In bash I'd use lynx --source and with grep/cut I'd have no problem..but in Python I dont know how to do it..
I thought to do something like that:
import urllib2
data = urllib2.urlopen("http://www.my_url.com")
Doing it I get the whole html page.
Then I thought to do:
for line in data.read():
if "my_links" in line:
print line
But seems it not working