Skip to content

Instantly share code, notes, and snippets.

@dufferzafar
Last active January 26, 2016 23:53
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dufferzafar/36088f701bba507fd8f4 to your computer and use it in GitHub Desktop.
Save dufferzafar/36088f701bba507fd8f4 to your computer and use it in GitHub Desktop.
Timing execution of BeautifulSoup's prettify and lxml.tostring()
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@IAlwaysBeCoding
Copy link

I have used bs4 when I started out scraping and quickly switched to lxml, there is nothing better than lxml l. I just don't like how hard is to install, that's my only complain from lxml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment