[Tutor] SGMLLib, fetching some weird data

Basil Shubin bashu at yandex.ru
Sat Aug 12 13:28:18 CEST 2006


Hi friends,

Please, examine attached script. I want fetch some data from online 
resource and almost achieve this, but I can't fetch some weird formatted 
data like this '45° Reverse Calf Press'. I got the following error:

45
  Reverse Calf Press
Reverse Calf Raise
Seated Reverse Calf Press
Traceback (most recent call last):
   File "net_exrx.py", line 226, in ?
     exercisesList = LoadExercisesList(2, 4, 9)
   File "net_exrx.py", line 86, in LoadExercisesList
     return parser.GetExercisesList()
   File "net_exrx.py", line 176, in GetExercisesList
     self.exerList.append([self.desc[i],self.urls[i]])
IndexError: list index out of range

Thanks in advance!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net_exrx.py
Type: text/x-python
Size: 7295 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20060812/93bb7270/attachment.py 


More information about the Tutor mailing list