Removing /a from the end of the XPath in line 111 of worker.py seems to have fixed it.
Just changed line 111 from:
Code:
count = shelf.xpath('.//div[contains(@class, "smallText")]/a')[0].text_content().strip()
to:
Code:
count = shelf.xpath('.//div[contains(@class, "smallText")]')[0].text_content().strip()