I am getting this error when i trying to parse through a for loop
pages=soup.find('span',{'class':'pagnDisabled'})
if pages==None:
print 'None'
elif pages!=None:
for i in range(2, pages + 1):
print i
I am getting this error
TypeError: unsupported operand type(s) for +: 'Tag' and 'int'
pagesisn't an int. Were you expecting an int? If so, why?pages.lengthmost likely.pagesis37