Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Last active February 11, 2020 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BMU-Verlag/cca40e761e5056286db4227a0b4865cc to your computer and use it in GitHub Desktop.
Save BMU-Verlag/cca40e761e5056286db4227a0b4865cc to your computer and use it in GitHub Desktop.
def extract_data(response_content):
raw_html = BeautifulSoup(response_content, 'html.parser')
for index, element in enumerate(raw_html.select('li')):
print(element.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment