jeudi 31 octobre 2019

Scrap table from windguru

I have tried to scrap tables from www.windguru.com but i can't find the table using BeautifulSoup. Can anyone please help me with this. Here is my code:

import requests
from bs4 import BeautifulSoup
url = "https://www.windguru.cz/archive.php?id_spot=49308&id_model=3&date_from=2012-01-01&date_to=2012-12-31"
page = requests.get(url)
soup = BeautifulSoup(page.content, 'html.parser')
tb = soup.find('table', class_='forecast daily-archive')



Aucun commentaire:

Enregistrer un commentaire