wattpad-ebook-scraper icon indicating copy to clipboard operation
wattpad-ebook-scraper copied to clipboard

UnboundLocalError

Open RishabhBhatnagar opened this issue 6 years ago • 2 comments

$ python scrape.py http://www.wattpad.com/story/9876543-example-story http://www.wattpad.com/story/9999999-example-story-2 Story "He Doesn't Know.": 9876543 Traceback (most recent call last): File "scrape.py", line 134, in main() File "scrape.py", line 128, in main download_story(story_id) File "scrape.py", line 75, in download_story print('Skipping "{chapter_title}": {chapter_id}, part is deleted'.format(chapter_title=chapter_title, chapter_id=chapter_id)) UnboundLocalError: local variable 'chapter_id' referenced before assignment

This is the exact issue i am getting. This is a minor error.

RishabhBhatnagar avatar Dec 21 '18 06:12 RishabhBhatnagar

Sorry, I am no longer maintaining this project. I recommend you try https://github.com/JimmXinu/FanFicFare instead. It contains a Wattpad downloader (based off this project) among many other downloaders for stories.

de3sw2aq1 avatar Dec 31 '18 21:12 de3sw2aq1

Please merge the pr and close this issue. If it is unmaintained, I would contribute to another repository thereafter.

RishabhBhatnagar avatar Jan 04 '19 04:01 RishabhBhatnagar