diff --git a/app.yaml b/app.yaml index bfea1176..0a6f21f0 100644 --- a/app.yaml +++ b/app.yaml @@ -1,6 +1,6 @@ # ffd-retief-hrd fanfictiondownloader application: fanfictiondownloader -version: 2-0-02 +version: 2-0-03 runtime: python27 api_version: 1 threadsafe: true diff --git a/calibre-plugin/__init__.py b/calibre-plugin/__init__.py index 7f6f3a30..c0fbc467 100644 --- a/calibre-plugin/__init__.py +++ b/calibre-plugin/__init__.py @@ -42,7 +42,7 @@ class FanFictionDownLoaderBase(InterfaceActionBase): description = _('UI plugin to download FanFiction stories from various sites.') supported_platforms = ['windows', 'osx', 'linux'] author = 'Jim Miller' - version = (2, 0, 2) + version = (2, 0, 3) minimum_calibre_version = (1, 13, 0) #: This field defines the GUI plugin class that contains all the code diff --git a/fanficdownloader/adapters/adapter_archiveofourownorg.py b/fanficdownloader/adapters/adapter_archiveofourownorg.py index 705ca3a5..8d0e3774 100644 --- a/fanficdownloader/adapters/adapter_archiveofourownorg.py +++ b/fanficdownloader/adapters/adapter_archiveofourownorg.py @@ -176,8 +176,8 @@ class ArchiveOfOurOwnOrgAdapter(BaseSiteAdapter): self.story.setMetadata('authorId','0') else: for a in alist: - self.story.addToList('authorId',a['href'].split('/')[2]) - self.story.addToList('authorUrl','http://'+self.host+a['href']) + self.story.addToList('authorId',a['href'].split('/')[-1]) + self.story.addToList('authorUrl',a['href']) self.story.addToList('author',a.text) newestChapter = None