I am using BeatifulSoup for web scraping and I want to get the anchor tags of a particular class.
I was using this code to get all tags:
soup = BeautifulSoup(html)
for tag in soup.find_all('a'):
print (tag.text)
But this gets all anchor tags. How to limit it to get links of only a particular class name?