macwizard / tutorial-lxml

Tutorial lxml

Using lxml, an alternative library to BeautifulSoup.

Forked from ScraperWiki

Contributors macwizard

Last run failed with status code 1.

Console output of last run

Traceback (most recent call last): File "/repo/", line 10, in <module> root = lxml.etree.fromstring(samplexml) # an lxml.etree.Element object File "lxml.etree.pyx", line 2756, in lxml.etree.fromstring (src/lxml/lxml.etree.c:54657) File "parser.pxi", line 1578, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:82774) File "parser.pxi", line 1457, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:81572) File "parser.pxi", line 965, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:78242) File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:74498) File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:75389) File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74722) lxml.etree . XMLSyntaxError : Opening and ending tag mismatch: meta line 1 and HEAD, line 1, column 990


Total run time: less than 5 seconds

Total cpu time used: less than 5 seconds

Total disk space used: 24 KB


  • Manually ran revision 6d9b4f9e and failed .
  • Forked from ScraperWiki

Scraper code


tutorial-lxml /