Fix for ArchiveOfOurOwn site change.

This commit is contained in:
Jim Miller 2012-04-21 21:37:16 -05:00
parent 465e25d3e6
commit a2eaa9fb22
3 changed files with 5 additions and 10 deletions

View file

@ -27,7 +27,7 @@ class FanFictionDownLoaderBase(InterfaceActionBase):
description = 'UI plugin to download FanFiction stories from various sites.'
supported_platforms = ['windows', 'osx', 'linux']
author = 'Jim Miller'
version = (1, 5, 14)
version = (1, 5, 15)
minimum_calibre_version = (0, 8, 30)
#: This field defines the GUI plugin class that contains all the code

View file

@ -101,7 +101,7 @@ class ArchiveOfOurOwnOrgAdapter(BaseSiteAdapter):
# Now go hunting for all the meta data and the chapter list.
## Title
a = soup.find('a', href=re.compile(r"^/works/\w+"))
a = soup.find('a', href=re.compile(r"^/works/\d+$"))
self.story.setMetadata('title',a.string)
# Find authorid and URL from... author url.

View file

@ -1,6 +1,6 @@
indexes:
# AUTOGENERATED
# notAUTOGENERATED
# This index.yaml is automatically updated whenever the dev_appserver
# detects that a new type of query is run. If you want to manage the
@ -21,13 +21,8 @@ indexes:
- name: date
direction: desc
- kind: DownloadedFanfic
- kind: SavedMeta
properties:
- name: cleared
- name: date
- kind: DownloadedFanfic
properties:
- name: user
- name: count
- name: date
direction: desc