chexov/thepiratebayparser — Issue #1: Broken
Author: brainstorm
Created: 2011-10-12 21:19:42+00:00
State: open

; python thepiratebayorg.py '"Black Books"'
Traceback (most recent call last):
File "thepiratebayorg.py", line 23, in
for row in search(sys.argv[1], '0/7/0'):
File "thepiratebayorg.py", line 12, in search
table = tree.xpath('//table[@id="searchResult"]')
File "lxml.etree.pyx", line 1829, in lxml.etree._ElementTree.xpath (src/lxml/lxml.etree.c:42045)
File "lxml.etree.pyx", line 1550, in lxml.etree._ElementTree._assertHasRoot (src/lxml/lxml.etree.c:39499)
AssertionError: ElementTree not initialized, missing root