Quote:
Originally Posted by mgiammarco
No one has a problem similar to this? Can you give me an hint to where to start to debug?
Thanks,
Mario
|
Look at parse_index where
Code:
ritem = soup.find('ul',attrs={'id':'list'})
for item in ritem.findAll('li'):
appears. You'll probably find that ritem is undefined on the page. Put in a test for existence, or some print statements to figure out what's happening.