diff --git a/calibre-plugin/ffdl_plugin.py b/calibre-plugin/ffdl_plugin.py index fd83c31..e8e9b76 100644 --- a/calibre-plugin/ffdl_plugin.py +++ b/calibre-plugin/ffdl_plugin.py @@ -720,8 +720,8 @@ make_firstimage_cover:true good_list, partial(self._update_book, options=options, db=self.gui.current_db), partial(self._update_books_completed, options=options), - init_label="Updating calibre for stories...", - win_title="Update calibre for stories", + init_label="Updating calibre for FanFiction stories...", + win_title="Update calibre for FanFiction stories", status_prefix="Updated") def _add_or_update_book(self,book,options,prefs,mi=None): diff --git a/fanficdownloader/adapters/adapter_siyecouk.py b/fanficdownloader/adapters/adapter_siyecouk.py index 39711a5..510b683 100644 --- a/fanficdownloader/adapters/adapter_siyecouk.py +++ b/fanficdownloader/adapters/adapter_siyecouk.py @@ -174,7 +174,16 @@ class SiyeCoUkAdapter(BaseSiteAdapter): # XXX # eFiction sites don't help us out a lot with their meta data # formating, so it's a little ugly. - moremeta = stripHTML(titlea.parent.parent.parent.find('div',{'class':'desc'})) + + # SIYE formats stories in the author list differently when their part of a series. + # Look for non-series... + divdesc = titlea.parent.parent.find('div',{'class':'desc'}) + if not divdesc: + # ... now look for series. + divdesc = titlea.parent.parent.findNextSibling('tr').find('div',{'class':'desc'}) + + moremeta = stripHTML(divdesc) + #print("moremeta:%s"%moremeta) for part in moremeta.replace(' - ','\n').split('\n'): #print("part:%s"%part) try: