Oct-20-2019, 06:51 PM
check status to make sure page has been downloaded.
response = requests.get(pagina1) if response.status_code == 200: soup=BeautifulSoup(response.content,"lxml") else: print(f"unable to fetch page: {pagina1}")