Fix for AO3 authorUrl and authorId. Bump versions.

This commit is contained in:
Jim Miller 2014-08-13 19:38:10 -05:00
parent 445d676d24
commit e47e4bf29a
3 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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