Issue
I cant solve this problem. I really need help
here is my code: https://dpaste.org/PqpYE#L33
here is the error that I am having:
File "test.py", line 30, in <module>
percent = soup.find('tbody').find_all('tr')[a].find('td').find_all(class_ ='styled__PercentContainer-sc-1qtnlbe-0 eeuaGk')
IndexError: list index out of range
Solution
Shift a+=1
to end of loop
. Python indexing start with 0.
Answered By - Chris Seeling
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.