Skip to content

Instantly share code, notes, and snippets.

@JohnDeJesus22
Last active August 21, 2019 19:40
Show Gist options
  • Save JohnDeJesus22/06fa5ad38e328c32332f32dfc7bd5da6 to your computer and use it in GitHub Desktop.
Save JohnDeJesus22/06fa5ad38e328c32332f32dfc7bd5da6 to your computer and use it in GitHub Desktop.
JssuniPageparser
# 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