mercredi 27 octobre 2021

why we use attrs in Beautiful Soup for scraping

for link in soup.find_all(attrs={'class': 'title"'}): for links in link.find_all('a'): If if i use attrs then links are scraped but if i use td then not scraped so whats the reason whats difference between attrs and tag




Aucun commentaire:

Enregistrer un commentaire