Forums

I can not run program

I am scraping data from a website and when I run the script it returns me this error below. Maybe it's because I love installing the two libraries and BeautifulSoup, how can I do that?

Erro:

Traceback (most recent call last): File "/home/lucasthaynanmcz/maju_post_wp.py", line 118, in <module> robo_tempo() File "/home/lucasthaynanmcz/maju_post_wp.py", line 18, in robo_tempo data = informacao_detalhada[1].find("div", {"class": "tit"}) IndexError: list index out of range

Is the site you're scraping on our whitelist? http://help.pythonanywhere.com/pages/403ForbiddenError