How to find all the tags in the page using BeautifulSoup

0 votes
Can I find all the tags in the page? Anchor, division and all other tags. How can I do that?
Apr 2, 2019 in Python by Suri
780 views

1 answer to this question.

+1 vote

Try this code:

for tag in soup.find_all(True):
    print(tag.name)
answered Apr 2, 2019 by Soumya

Related Questions In Python

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to remove all of the data in a table using Django?

Hello @kartik, Inside a manager: def delete_everything(self): ...READ MORE

answered Aug 12, 2020 in Python by Niroj
• 82,880 points
3,762 views
0 votes
1 answer
0 votes
1 answer

How to web scrape using python without using a browser?

Yes, you can use the headless mode. ...READ MORE

answered Apr 2, 2019 in Python by Yogi

edited Oct 7, 2021 by Sarfaraz 12,439 views
0 votes
1 answer

How to parse html file to BeautifulSoup?

Hey. Refer to the following code: driver.get("link") html = ...READ MORE

answered Apr 2, 2019 in Python by Kirti
1,628 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP