Fix for latest ffnet tweak.

This commit is contained in:
Jim Miller 2013-10-23 19:31:28 -05:00
parent a43d9f7a03
commit ba7b718170
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# ffd-retief-hrd fanfictiondownloader
application: fanfictiondownloader
version: 4-4-78
version: 4-4-79
runtime: python27
api_version: 1
threadsafe: true

View file

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

View file

@ -281,7 +281,7 @@ class FanFictionNetSiteAdapter(BaseSiteAdapter):
# don't care about anything before "<div class='storytextp"
# (there's a space after storytextp, so no close quote(')) and
# this kills any body tags.
divstr = "<div role='main' class='storytextp"
divstr = "<div role='main'"
if divstr not in data:
raise exceptions.FailedToDownload("Error downloading Chapter: %s! Missing required element!" % url)
else: