From 60a6d328192f6da53ad7df2623335fc4de49ddbe Mon Sep 17 00:00:00 2001
From: Jim Miller
Date: Tue, 29 May 2012 22:30:43 -0500
Subject: [PATCH] Integrate dokuga.com, bump versions.
---
app.yaml | 2 +-
calibre-plugin/__init__.py | 2 +-
defaults.ini | 2 ++
fanficdownloader/adapters/__init__.py | 1 +
index.html | 12 +++++++++---
plugin-defaults.ini | 2 ++
6 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/app.yaml b/app.yaml
index 7f3f3ad6..d153a1db 100644
--- a/app.yaml
+++ b/app.yaml
@@ -1,6 +1,6 @@
# ffd-retief-hrd fanfictiondownloader
application: fanfictiondownloader
-version: 4-4-12
+version: 4-4-13
runtime: python27
api_version: 1
threadsafe: true
diff --git a/calibre-plugin/__init__.py b/calibre-plugin/__init__.py
index bf63bbaf..7d2d955e 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, 5, 25)
+ version = (1, 5, 26)
minimum_calibre_version = (0, 8, 30)
#: This field defines the GUI plugin class that contains all the code
diff --git a/defaults.ini b/defaults.ini
index 986ce508..a29e500f 100644
--- a/defaults.ini
+++ b/defaults.ini
@@ -447,6 +447,8 @@ cover_exclusion_regexp:/images/.*?ribbon.gif
#username:YourName
#password:yourpassword
+[www.dokuga.com]
+
[www.fanfiction.net]
[www.ficbook.net]
diff --git a/fanficdownloader/adapters/__init__.py b/fanficdownloader/adapters/__init__.py
index a879e2fa..8be0e860 100644
--- a/fanficdownloader/adapters/__init__.py
+++ b/fanficdownloader/adapters/__init__.py
@@ -65,6 +65,7 @@ import adapter_phoenixsongnet
import adapter_walkingtheplankorg
import adapter_ashwindersycophanthexcom
import adapter_thehexfilesnet
+import adapter_dokugacom
## This bit of complexity allows adapters to be added by just adding
## importing. It eliminates the long if/else clauses we used to need
diff --git a/index.html b/index.html
index 46b2faca..2900471e 100644
--- a/index.html
+++ b/index.html
@@ -54,9 +54,9 @@
much easier.
- Fix for fanfiction.net Genre, Characters and Status
+ New Site
- fanfiction.net changed their format yesterday or today(May 26/27) enough to break capture of Genre, Characters and Status. This version fixes it.
+ New site www.dokuga.com added. Thanks, Ida.
Questions? Check out our
@@ -66,7 +66,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 }}
@@ -358,6 +358,12 @@
Use the URL of the story's chapter list, such as
http://thehexfiles.net/viewstory.php?sid=1234
+
www.dokuga.com
+
+ Use the URL of any story chapter, such as
+
http://www.dokuga.com/fanfiction/story/1234/1 or
+
http://www.dokuga.com/spark/story/1234/1
+
A few additional things to know, which will make your life substantially easier:
diff --git a/plugin-defaults.ini b/plugin-defaults.ini
index dff7e058..5ec7920c 100644
--- a/plugin-defaults.ini
+++ b/plugin-defaults.ini
@@ -433,6 +433,8 @@ cover_exclusion_regexp:/images/.*?ribbon.gif
#username:YourName
#password:yourpassword
+[www.dokuga.com]
+
[www.fanfiction.net]
[www.ficbook.net]