Added config option 'bulk_load' to config

* Setting this to true will load the complete story as printed
  and keep it cached between extractMetadata & getChapter in
  BaseEfictionAdapter based adapters
This commit is contained in:
doe
2014-08-09 03:40:48 +02:00
parent 8ae585728f
commit 40c9bcccf7
2 changed files with 74 additions and 2 deletions
+36 -1
View File
@@ -878,6 +878,24 @@ extraships:Harry Potter/Hermione Granger
#username:YourName
#password:yourpassword
[fannation.shades-of-moonlight.com]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
## commandline version, this should go in your personal.ini, not
## defaults.ini.
#username:YourName
#password:yourpassword
## Virtually all eFiction-based sites allow downloading the whole story in
## bulk using the 'Print' feature. If 'bulk_load' is set to 'true', both
## metadata and chapters can be loaded in one step
bulk_load:true
extra_valid_entries: readings,romance
extra_titlepage_entries: readings,romance
readings_label: Readings
romance_label: Romance
[ficwad.com]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@@ -1242,6 +1260,16 @@ extracategories:Criminal Minds
## personal.ini, not defaults.ini.
#is_adult:true
## Virtually all eFiction-based sites allow downloading the whole story in
## bulk using the 'Print' feature. If 'bulk_load' is set to 'true', both
## metadata and chapters can be loaded in one step
bulk_load:true
extra_valid_entries: readings,challenge
extra_titlepage_entries: readings,challenge
challenge_label: Challenge
readings_label: Readings
[themasque.net]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@@ -1292,6 +1320,11 @@ extracategories:Lord of the Rings
#username:YourName
#password:yourpassword
## Virtually all eFiction-based sites allow downloading the whole story in
## bulk using the 'Print' feature. If 'bulk_load' is set to 'true', both
## metadata and chapters can be loaded in one step
bulk_load:true
## Some sites also require the user to confirm they are adult for
## adult content. In commandline version, this should go in your
## personal.ini, not defaults.ini.
@@ -1300,8 +1333,10 @@ extracategories:Lord of the Rings
## Site dedicated to these categories/characters/ships
extracategories:Star Trek
extra_valid_entries:awards
extra_valid_entries:readings,awards
extra_titlepage_entries:readings,awards
awards_label:Awards
readings_label:Readings
cover_exclusion_regexp:art/.*Awards.jpg
+38 -1
View File
@@ -872,6 +872,25 @@ extraships:Harry Potter/Hermione Granger
#username:YourName
#password:yourpassword
[fannation.shades-of-moonlight.com]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
## commandline version, this should go in your personal.ini, not
## defaults.ini.
#username:YourName
#password:yourpassword
## Virtually all eFiction-based sites allow downloading the whole story in
## bulk using the 'Print' feature. If 'bulk_load' is set to 'true', both
## metadata and chapters can be loaded in one step
bulk_load:true
extra_valid_entries: readings,romance
extra_titlepage_entries: readings,romance
readings_label: Readings
romance_label: Romance
[ficwad.com]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@@ -1236,6 +1255,16 @@ extracategories:Criminal Minds
## personal.ini, not defaults.ini.
#is_adult:true
## Virtually all eFiction-based sites allow downloading the whole story in
## bulk using the 'Print' feature. If 'bulk_load' is set to 'true', both
## metadata and chapters can be loaded in one step
bulk_load:true
extra_valid_entries: readings,challenge
extra_titlepage_entries: readings,challenge
challenge_label: Challenge
readings_label: Readings
[themasque.net]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@@ -1286,6 +1315,11 @@ extracategories:Lord of the Rings
#username:YourName
#password:yourpassword
## Virtually all eFiction-based sites allow downloading the whole story in
## bulk using the 'Print' feature. If 'bulk_load' is set to 'true', both
## metadata and chapters can be loaded in one step
bulk_load:true
## Some sites also require the user to confirm they are adult for
## adult content. In commandline version, this should go in your
## personal.ini, not defaults.ini.
@@ -1294,11 +1328,14 @@ extracategories:Lord of the Rings
## Site dedicated to these categories/characters/ships
extracategories:Star Trek
extra_valid_entries:awards
extra_valid_entries:readings,awards
extra_titlepage_entries:readings,awards
awards_label:Awards
readings_label:Readings
cover_exclusion_regexp:art/.*Awards.jpg
[voracity2.e-fic.com]
## Extra metadata that this adapter knows about. See [dramione.org]
## for examples of how to use them.