jeudi 24 octobre 2019

Web scraping with beautiful soup for finding animals

I am trying to scrape a dog from a search engine site in my example it is pomeranian I am not sure what should come in the soup.find_all

this is what I did : url = "https://www.winwin.co.il/Animals/Search/SearchResults/AnimalPage.aspx?search=f1b130870fcd32672a71e39ae8e26898"

response = requests.get(url)

data = response.text

soup = BeautifulSoup(data,'html.parser')

dog=soup.find_all("div",{"class":"ContainerSEOTxt"})




Aucun commentaire:

Enregistrer un commentaire