Since a few days, the wuxiaworld.com adapter doesn't properly download the chapters anymore, instead you just get the first of the site announcements on the page.
I tried to use the latest test version, but with that wuxiaworld.com doesn't download at all anymore. I tried running in debug mode, but can't make sense of it:
Quote:
FFF: DEBUG: 2018-07-24 13:05:08,275: calibre_plugins.fanficfare_plugin.fff_plugin(960): FanFicFare v2.27.6
FFF: DEBUG: 2018-07-24 13:05:08,612: calibre_plugins.fanficfare_plugin.fff_plugin(1074) : url:https://www.wuxiaworld.com/novel/invincible
FFF: DEBUG: 2018-07-24 13:05:08,645: calibre_plugins.fanficfare_plugin.fanficfare.adapt ers.adapter_wuxiaworldcom(78): URL: https://www.wuxiaworld.com/novel/invincible
FFF: DEBUG: 2018-07-24 13:05:08,647: calibre_plugins.fanficfare_plugin.fanficfare.confi gurable(1056): #####################################
pagecache(GET) MISS: https://www.wuxiaworld.com/novel/invincible
FFF: DEBUG: 2018-07-24 13:05:11,259: calibre_plugins.fanficfare_plugin.fanficfare.confi gurable(1056): #####################################
pagecache(GET) MISS: https://www.wuxiaworld.com/images/covers/inv.png
FFF: DEBUG: 2018-07-24 13:05:13,118: calibre_plugins.fanficfare_plugin.fanficfare.confi gurable(1056): #####################################
pagecache(GET) MISS: https://www.wuxiaworld.com/novel/inv...nv-chapter-671
FFF: ERROR: 2018-07-24 13:05:14,720: calibre_plugins.fanficfare_plugin.dialogs(689): Exception: {u'url': u'https://www.wuxiaworld.com/novel/invincible', u'pubdate': None, u'author_sort': u'Jian, Shen', u'listorder': 0, u'comment': u'tuple indices must be integers, not str', u'publisher': u'www.wuxiaworld.com', u'begin': None, u'added': False, u'showerror': True, u'title': u'Invincible', u'series': u'', u'site': 'www.wuxiaworld.com', u'comments': u'', u'calibre_id': 8502, u'good': False, u'end': None, u'author': [u'Shen Jian']}:tuple indices must be integers, not str
Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.dialogs", line 677, in do_loop
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1160, in prep_download_loop
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1041, in get_story_metadata_only
File "calibre_plugins.fanficfare_plugin.fanficfare.adap ters.base_adapter", line 286, in getStoryMetadataOnly
TypeError: tuple indices must be integers, not str
|
line 286 in base_adapter is not actually in getStoryMetadataOnly, so I really don't know what's going on here.
After reverting back to the last stable version, I found that changing (adapter_wuxiworldcom.py):
Quote:
content = soup.select_one('.section-content .fr-view')
|
to
Quote:
content = soup.select_one('.section-content .panel .p-15 .fr-view')
|
downloads the right section again. (I tried complete downloads of 4 different stories, each with 100's of chapters, and as far as I can tell, they are all correct.)