Activate Python Virtual Environment
From one's virtual env directory:
source bin/activateIt's nice to scrape within an interactive python session; so launch one via:
pythonBeatiful Soup Techniques
Find All Matching Elements with find_all()
Find All Elements with a Matching Style Attribute
Find all h3 elements with style="text-align: center;":
soup.find_all('h3', style="text-align: center;")Strip HTML from Results with get_text()
soup.get_text()