View Single Post
Old 07-22-2021, 04:37 AM   #25
queensacrifice
Junior Member
queensacrifice began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
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()
Attached Files
File Type: zip Goodreads.More.Tags.zip (14.5 KB, 379 views)
queensacrifice is offline   Reply With Quote