Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JohnDeJesus22/c74bd0b2e10c90c6f6cb0bc767c2b6b7 to your computer and use it in GitHub Desktop.
Save JohnDeJesus22/c74bd0b2e10c90c6f6cb0bc767c2b6b7 to your computer and use it in GitHub Desktop.
medium web scrap p3
# Testing with the first teacher and obtaining the name
test_result = results[0]
test_result.find('h5')
test_result.find('h5').text
# Obtaining position(s)
test_result.find('p').text.strip('\n\t')
# Obtaining email
test_result.find('em').get_text()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment