View Single Post
Old 06-30-2019, 11:08 AM   #3539
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,029
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
The very last chapter of that story returns an empty page. This looks like a site problem, not a problem with FanFicFare.

And I don't think it's effecting all stories, because I picked one at random and it worked fine.

You can either limit your download with a chapter range, ie download using URL:
https://www.wuxiaworld.co/It-s-Not-E...to-the-Future/[-574]

...Or use this setting to continue on in the face of chapter errors:
Code:
[www.wuxiaworld.co]
continue_on_chapter_error:true
If you do that, your ebook will contain a chapter there, but the chapter title will contain (CHAPTER ERROR) and the text will be a report of the error:
Quote:
575. Volume 2 575 He Is Ling Lan!(CHAPTER ERROR)

Error

FanFicFare failed to download this chapter. Because continue_on_chapter_error is set to true, the download continued.

Chapter URL:
https://www.wuxiaworld.co/It-s-Not-E...e/2072007.html

Error:
Traceback (most recent call last):
File "C:\Users\user\Desktop\nook\FanFicFare\fanficfare\ adapters\base_adapter.py", line 230, in getStory
data = self.getChapterTextNum(url,index)
File "C:\Users\user\Desktop\nook\FanFicFare\fanficfare\ adapters\base_adapter.py", line 381, in getChapterTextNum
return self.getChapterText(url)
File "C:\Users\user\Desktop\nook\FanFicFare\fanficfare\ adapters\adapter_wuxiaworldco.py", line 131, in getChapterText
for script in content('script'):
TypeError: 'NoneType' object is not callable
You will need to manually remove that chapter with Calibre's Edit book or similar before FFF will try to download that chapter again on update.

Hmmm. Perhaps I will look into adding an option for FFF to ignore chapters with '(CHAPTER ERROR)' in the title on update...
JimmXinu is offline   Reply With Quote