From e1c2c1a2a2ef9fee771469f1b622deaaa1d4a2f8 Mon Sep 17 00:00:00 2001
From: Jim Miller
Date: Mon, 1 Apr 2013 10:05:30 -0500
Subject: [PATCH] Another fix for fanfiction.net changes.
---
app.yaml | 2 +-
calibre-plugin/__init__.py | 2 +-
fanficdownloader/adapters/adapter_fanfictionnet.py | 2 +-
index.html | 6 ++----
4 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/app.yaml b/app.yaml
index e57ba678..931aa24b 100644
--- a/app.yaml
+++ b/app.yaml
@@ -1,6 +1,6 @@
# ffd-retief-hrd fanfictiondownloader
application: fanfictiondownloader
-version: 4-4-52
+version: 4-4-53
runtime: python27
api_version: 1
threadsafe: true
diff --git a/calibre-plugin/__init__.py b/calibre-plugin/__init__.py
index 153ef023..1cd4a238 100644
--- a/calibre-plugin/__init__.py
+++ b/calibre-plugin/__init__.py
@@ -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, 7, 19)
+ version = (1, 7, 20)
minimum_calibre_version = (0, 8, 57)
#: This field defines the GUI plugin class that contains all the code
diff --git a/fanficdownloader/adapters/adapter_fanfictionnet.py b/fanficdownloader/adapters/adapter_fanfictionnet.py
index 287cb966..1de5aab2 100644
--- a/fanficdownloader/adapters/adapter_fanfictionnet.py
+++ b/fanficdownloader/adapters/adapter_fanfictionnet.py
@@ -151,7 +151,7 @@ class FanFictionNetSiteAdapter(BaseSiteAdapter):
# after Rating, the same bit of text containing id:123456 contains
# Complete--if completed.
- gui_table1i = soup.find(id="gui_table1i")
+ gui_table1i = soup.find('table',{'cellpadding':'5'})
self.story.setMetadata('title', stripHTML(gui_table1i.find('b'))) # title appears to be only(or at least first) bold tag in gui_table1i
diff --git a/index.html b/index.html
index d187fac2..b4a8f59c 100644
--- a/index.html
+++ b/index.html
@@ -57,9 +57,7 @@
Changes:
- - Another fix for fanfiction.net changes.
- - Add author to chapter TOC for multi-author stories on TtH and WraithBait.
- (AO3 doesn't reliably report chapter author.)
+ - Yet another fix for fanfiction.net changes.
@@ -70,7 +68,7 @@
If you have any problems with this application, please
report them in
the FanFictionDownLoader Google Group. The
- Previous Version is also available for you to use if necessary.
+ Previous Version is also available for you to use if necessary.
{{ error_message }}