Last active
August 21, 2019 19:40
-
-
Save JohnDeJesus22/06fa5ad38e328c32332f32dfc7bd5da6 to your computer and use it in GitHub Desktop.
JssuniPageparser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Parse the HTML | |
soup = BeautifulSoup(web_page.text, 'html.parser') | |
# Create Set with HTML tags based on results | |
results = soup.find_all('div', attrs={'class':'tab-pane active in fade'}) | |
# Check results and remove first tag since it isn't a profile block | |
len(results) | |
results = results[1:] | |
len(results) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment