Quote:
|
Originally Posted by zem52887
it does not indeed... but shouldn't it be able to build one?
|
What I mean is that if Yahoo! has changed its layout, then your home computer will be attempting to get data from the new layout, whilst your work machine will be getting data from the old layout in the cache.
The only way to be sure is to open up an interactive Python session with IDLE and test the tables:
>>> from urllib2 import urlopen
>>> from BeautifulSoup import BeautifulSoup
>>> industry_page = "http://biz.yahoo.com/ic/ind_index.html"
>>> soup = BeautifulSoup(urlopen(industry_page))
>>> table = soup.fetch("table")[7]
>>> table.fetch("a")
...etc Interestingly enough, this works fine for me. Try deleting your cache and trying again.