You could pass a list, to find any of the given tags:
tags = soup.find_all(['hr', 'strong'])
More Related Contents:
- Beautiful Soup: ‘ResultSet’ object has no attribute ‘find_all’?
- BeautifulSoup Grab Visible Webpage Text
- python BeautifulSoup parsing table
- Only extracting text from this element, not its children
- Python and BeautifulSoup encoding issues [duplicate]
- Can I remove script tags with BeautifulSoup?
- Difference between “findAll” and “find_all” in BeautifulSoup
- Remove a tag using BeautifulSoup but keep its contents
- How to get rid of BeautifulSoup user warning?
- UnicodeEncodeError: ‘ascii’ codec can’t encode character ‘\xe9’ – -when using urlib.request python3
- UnicodeEncodeError: ‘ascii’ codec can’t encode character at special name [duplicate]
- How to find children of nodes using BeautifulSoup
- Using BeautifulSoup to find a HTML tag that contains certain text
- How to get text from span tag in BeautifulSoup
- How can I strip comment tags from HTML using BeautifulSoup?
- Why do I get a recursion error with BeautifulSoup and IDLE?
- Beautiful Soup and extracting a div and its contents by ID
- How to extract a JSON object that was defined in a HTML page javascript block using Python?
- Convert a HTML Table to JSON
- Exclude unwanted tag on Beautifulsoup Python
- How to install beautiful soup 4 with python 2.7 on windows
- Speeding up beautifulsoup
- Scrape Dynamic contents created by Javascript using Python
- How can i grab CData out of BeautifulSoup
- Clicking link using beautifulsoup in python
- BeautifulSoup: get css classes from html
- Beautiful Soup and Table Scraping – lxml vs html parser
- Using Python and BeautifulSoup (saved webpage source codes into a local file)
- Download all pdf files from a website using Python
- Using Find_All function returns an unexpected result set