from urllib2 import urlopen
from BeautifulSoup import BeautifulSoup
industry_url = "http://biz.yahoo.com/ic/110.html"
def get_company_index(industry_url):
soup = BeautifulSoup(urlopen(industry_url))
index_link = soup.fetch("table")[11].fetch("a")[2]
return index_link
print get_company_index(industry_url)
how bout them apples? *crosses fingers*
edit : wait im closer but not there yet, i have the link AND the company name not just the link or does that not matter?