Reorder sections in defaults.ini files alphabetically, save script that does it.

master
Jim Miller 2017-05-09 13:15:41 -05:00
parent a490aa7c7a
commit 354976e85a
3 changed files with 731 additions and 691 deletions

View File

@ -422,6 +422,7 @@ continue_on_chapter_error:false
chapter_title_error_mark:(CHAPTER ERROR)
[base_efiction]
## At the time of writing, eFiction Base adapters 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
@ -572,6 +573,7 @@ always_use_forumtags:false
#reader_posts_per_page:10
[base_xenforoforum:epub]
## See remove_spoilers above for more about 'spoilers'. This example
## shows how to put a simple line around spoiler blocks. Uncomment
## all three lines, keep the leading space before .bbCodeSpoilerContainer.
@ -579,58 +581,10 @@ always_use_forumtags:false
#add_to_output_css:
# .bbCodeSpoilerContainer { border: 1px solid black; padding: 2px; }
## Each output format has a section that overrides [defaults]
[html]
## include images from img tags in the body and summary of
## stories. Images will be converted to jpg for size if possible.
## include_images is *only* available in epub and html output formats.
## include_images is *not* available in the web service in any format.
#include_images:false
## This switch prevents FanFicFare from doing any processing on the images.
## Usually they would be converted to jpg, resized and optionally made
## grayscale.
no_image_processing: true
## output background color--only used by html and epub (and ignored in
## epub by many readers). Included below in output_css--will be
## ignored if not in output_css.
background_color: ffffff
## Allow customization of CSS. Make sure to keep at least one space
## at the start of each line and to escape % to %%. Also need
## background_color to be in the same section, if included in CSS.
output_css:
body { background-color: #%(background_color)s; }
.CI {
text-align:center;
margin-top:0px;
margin-bottom:0px;
padding:0px;
}
.center {text-align: center;}
.cover {text-align: center;}
.full {width: 100%%; }
.quarter {width: 25%%; }
.smcap {font-variant: small-caps;}
.u {text-decoration: underline;}
.bold {font-weight: bold;}
.big { font-size: larger; }
.small { font-size: smaller; }
[txt]
## Add URLs since there aren't links.
titlepage_entries: series,seriesUrl,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,storyUrl, authorUrl, description
## Width to word wrap text output. 0 indicates no wrapping.
wrap_width: 78
## use \r\n for line endings, the windows convention. text output only.
windows_eol: true
[epub]
## Each output format has a section that overrides [defaults]
## epub carries the TOC in metadata.
## mobi generated from epub by calibre will have a TOC at the end.
include_tocpage: false
@ -789,7 +743,58 @@ nook_img_fix:true
## useful for CLI and web service--the calibre plugin doesn't need it.
#calibre_series_meta:false
[html]
## include images from img tags in the body and summary of
## stories. Images will be converted to jpg for size if possible.
## include_images is *only* available in epub and html output formats.
## include_images is *not* available in the web service in any format.
#include_images:false
## This switch prevents FanFicFare from doing any processing on the images.
## Usually they would be converted to jpg, resized and optionally made
## grayscale.
no_image_processing: true
## output background color--only used by html and epub (and ignored in
## epub by many readers). Included below in output_css--will be
## ignored if not in output_css.
background_color: ffffff
## Allow customization of CSS. Make sure to keep at least one space
## at the start of each line and to escape % to %%. Also need
## background_color to be in the same section, if included in CSS.
output_css:
body { background-color: #%(background_color)s; }
.CI {
text-align:center;
margin-top:0px;
margin-bottom:0px;
padding:0px;
}
.center {text-align: center;}
.cover {text-align: center;}
.full {width: 100%%; }
.quarter {width: 25%%; }
.smcap {font-variant: small-caps;}
.u {text-decoration: underline;}
.bold {font-weight: bold;}
.big { font-size: larger; }
.small { font-size: smaller; }
[txt]
## Add URLs since there aren't links.
titlepage_entries: series,seriesUrl,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,storyUrl, authorUrl, description
## Width to word wrap text output. 0 indicates no wrapping.
wrap_width: 78
## use \r\n for line endings, the windows convention. text output only.
windows_eol: true
[mobi]
## mobi TOC cannot be turned off right now.
#include_tocpage: true
@ -797,7 +802,9 @@ nook_img_fix:true
## test1.com specifically is not a real story site. Instead,
## it is a fake site for testing configuration and output. It uses
## URLs like: http://test1.com?sid=12345
[test1.com]
extratags: FanFiction,Testing
# extracategories:Fafner
@ -827,15 +834,74 @@ extratags: FanFiction,Testing
# characters=>Harry P\.=>Harry Potter
[test1.com:txt]
## If necessary, you can define [<site>:<format>] sections to
## customize the formats differently for the same site. Overrides
## defaults, format and site.
[test1.com:txt]
extratags: FanFiction,Testing,Text
[test1.com:html]
extratags: FanFiction,Testing,HTML
[teststory:defaults]
valid_entries:title,author_list,authorId_list,authorUrl_list,storyUrl,
datePublished,dateUpdated,numWords,status,language,series,seriesUrl,
rating,category_list,genre_list,warnings_list,characters_list,ships_list,
description,site,extratags
# {{storyId}} is a special case--it's the only one that works.
title:Test Story Title {{storyId}}
author_list:Test Author aa
authorId_list:1
authorUrl_list:http://test1.com?authid=1
storyUrl:http://test1.com?sid={{storyId}}
datePublished:1975-03-15
dateUpdated:1975-04-15
numWords:123,456
status:In-Progress
language:English
chaptertitles:Prologue
[teststory:1000]
## Add additional sections with different numbers to get different
## parameters for different story urls.
## test1.com?sid=1000
# note the leading commas when doing add_to_ with valid_entries and *_list
add_to_valid_entries:,favs
title:Testing New Feature {{storyId}}
author_list:Bob Smith
authorId_list:45
authorUrl_list:http://test1.com?authid=45
datePublished:2013-03-15
dateUpdated:2013-04-15
numWords:1456
favs:56
series:The Great Test [4]
seriesUrl:http://test1.com?seriesid=1
rating:Tweenie
category_list:Harry Potter,Furbie,Crossover,Puella Magi Madoka Magica/魔法少女まどか★マギカ,Magical Girl Lyrical Nanoha
genre_list:Fantasy,Comedy,Sci-Fi,Noir
warnings_list:Swearing,Violence
characters_list:Bob Smith,George Johnson,Fred Smythe
chaptertitles:Prologue,Chapter 1\, Xenos on Cinnabar,Chapter 2\, Sinmay on Kintikin,3. Chapter 3
[overrides]
## It may sometimes be useful to override all of the specific format,
## site and site:format sections in your private configuration. For
## example, this extratags param here would override all of the
## extratags params in all other sections. Only commandline options
## beat overrides.
#extratags:fanficdownloader
[adult-fanfiction.org]
extra_valid_entries:eroticatags,disclaimer
eroticatags_label:Erotica Tags
@ -850,11 +916,9 @@ extra_titlepage_entries:eroticatags,disclaimer
#password:yourpassword
[archive.shriftweb.org]
website_encodings:Windows-1252,utf8,iso-8859-1
[archive.skyehawke.com]
website_encodings:Windows-1252,utf8
[archiveofourown.org]
@ -1028,14 +1092,12 @@ extracategories:Blood Ties
website_encodings:Windows-1252,utf8
[chosentwofanfic.com]
extra_valid_entries:disclaimer
disclaimer_label: Disclaimer
add_to_titlepage_entries:,disclaimer
[buffygiles.velocitygrass.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
website_encodings:Windows-1252,utf8,iso-8859-1
[fanfic.castletv.net]
## 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
@ -1043,13 +1105,8 @@ website_encodings:Windows-1252,utf8,iso-8859-1
#username:YourName
#password:yourpassword
## 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.
#is_adult:true
## Site dedicated to these categories/characters/ships
extracategories:Castle
extracharacters:Buffy,Giles
website_encodings:Windows-1252,utf8
@ -1065,6 +1122,13 @@ cover_exclusion_regexp:/images/.*?ribbon.gif
website_encodings:Windows-1252,utf8
[chosentwofanfic.com]
extra_valid_entries:disclaimer
disclaimer_label: Disclaimer
add_to_titlepage_entries:,disclaimer
website_encodings:Windows-1252,utf8,iso-8859-1
[csi-forensics.com]
## Some sites also require the user to confirm they are adult for
## adult content. In commandline version, this should go in your
@ -1201,6 +1265,24 @@ cover_exclusion_regexp:/images/.*?ribbon.gif
website_encodings:Windows-1252,utf8
[fanfic.castletv.net]
## 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
## 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.
#is_adult:true
## Site dedicated to these categories/characters/ships
extracategories:Castle
website_encodings:Windows-1252,utf8
[fanfic.hu]
## website encoding(s) In theory, each website reports the character
## encoding they use for each page. In practice, some sites report it
@ -1214,22 +1296,6 @@ website_encodings:ISO-8859-1,auto
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
[fanfiction.mugglenet.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
[fanfic.potterheadsanonymous.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -1248,10 +1314,46 @@ extracategories:Harry Potter
website_encodings:Windows-1252,utf8
[fanfiction-junkies.de]
[fanficauthors.net]
## 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
[fanfiction-junkies.de]
website_encodings:Windows-1252,utf8
[fanfiction.lucifael.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
[fanfiction.mugglenet.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
[fanfiction.tenhawkpresents.com]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@ -1404,6 +1506,24 @@ universe_as_series: true
## cover image. This lets you exclude them.
cover_exclusion_regexp:/css/bir.png
[firefly.populli.org]
## This site doesn't specifically tell you the category
extracategories:FireFly
## Extra metadata that this adapter knows about. See [dramione.org]
## for examples of how to use them.
extra_valid_entries:coauthor, size, storytype, spoilers, sequelto, prequelto, disclaimer
coauthor:Co-Author(s)
size_label:Size
storytype_label:Story Type
spoilers_label:Spoilers
sequelto_label: Sequel to
prequelto_label:Prequel to
disclaimer_label:Disclaimer
extra_titlepage_entries:coauthor, size, storytype, spoilers, sequelto, prequelto, disclaimer
website_encodings:Windows-1252,utf8,iso-8859-1
[forum.questionablequesting.com]
## see [base_xenforoforum]
@ -1723,6 +1843,8 @@ extracategories:The Pretender
website_encodings:Windows-1252,utf8
[quotev.com]
user_agent:
slow_down_sleep_time:2
extra_valid_entries:pages,readers,reads,favorites,searchtags,comments
pages_label:Pages
readers_label:Readers
@ -1919,7 +2041,6 @@ extracategories:Lord of the Rings
website_encodings:iso-8859-1,Windows-1252
[trekfanfiction.net]
website_encodings:Windows-1252,utf8,iso-8859-1
[trekiverse.org]
@ -1980,12 +2101,6 @@ add_to_titlepage_entries:,storynotes
## Site dedicated to these categories/characters/ships
extracategories:Labyrinth
[www.wuxiaworld.com]
## Authors on wuxiaworld.com create their own index pages, so it's not
## uncommon for there to be links to chapters that haven't been
## uploaded yet.
continue_on_chapter_error:true
[www.adastrafanfic.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2007,6 +2122,78 @@ website_encodings:Windows-1252,utf8
#username:YourName
#password:yourpassword
[www.andromeda-web.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Andromeda
website_encodings:Windows-1252,utf8
[www.area52hkh.net]
## Extra metadata that this adapter knows about. See [dramione.org]
## for examples of how to use them.
extra_valid_entries:season, size, spoilers, authorinfo
season_label:Season/Episode
size_label:Size
spoilers_label:Spoilers
authorinfo_label: Author's Info
add_to_titlepage_entries:,season, size, spoilers, authorinfo
[www.artemis-fowl.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Artemis Fowl
website_encodings:Windows-1252,utf8
[www.asexstories.com]
## Some sites also require the user to confirm they are adult for
## adult content. Uncomment by removing '#' in front of is_adult.
#is_adult:true
## This site has links to a vidow site embeded in the text. They are
## not needed, and will be removed if the below property is set to true
strip_text_links:true
[www.asianfanfics.com:epub]
## This is a workaround to replace AFF's abbreviated chapter titles
## present in chapter list. Uncomment this to remove the usual,
## shorter chapter title.
#chapter_start:<?xml version="1.0" encoding="UTF-8"?>
# <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>${chapter}</title>
# <link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
# <meta name="chapterurl" content="${url}"></meta>
# <meta name="chapterorigtitle" content="${origchapter}"></meta>
# <meta name="chaptertoctitle" content="${tocchapter}"></meta>
# <meta name="chaptertitle" content="${chapter}"></meta>
# </head>
# <body>
[www.asianfanfics.com]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@ -2038,42 +2225,6 @@ include_in_category:tags
## chapter_start to remove the standard chapter title, as shown below.
inject_chapter_title:false
[www.asianfanfics.com:epub]
## This is a workaround to replace AFF's abbreviated chapter titles
## present in chapter list. Uncomment this to remove the usual,
## shorter chapter title.
#chapter_start:<?xml version="1.0" encoding="UTF-8"?>
# <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>${chapter}</title>
# <link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
# <meta name="chapterurl" content="${url}"></meta>
# <meta name="chapterorigtitle" content="${origchapter}"></meta>
# <meta name="chaptertoctitle" content="${tocchapter}"></meta>
# <meta name="chaptertitle" content="${chapter}"></meta>
# </head>
# <body>
[www.asexstories.com]
## Some sites also require the user to confirm they are adult for
## adult content. Uncomment by removing '#' in front of is_adult.
#is_adult:true
## This site has links to a vidow site embeded in the text. They are
## not needed, and will be removed if the below property is set to true
strip_text_links:true
[www.area52hkh.net]
## Extra metadata that this adapter knows about. See [dramione.org]
## for examples of how to use them.
extra_valid_entries:season, size, spoilers, authorinfo
season_label:Season/Episode
size_label:Size
spoilers_label:Spoilers
authorinfo_label: Author's Info
add_to_titlepage_entries:,season, size, spoilers, authorinfo
[www.bdsmlibrary.com]
## Some sites also require the user to confirm they are adult for
## adult content. Uncomment by removing '#' in front of is_adult.
@ -2086,32 +2237,6 @@ eroticatags_label:Erotica Tags
extra_titlepage_entries:size,comments,eroticatags
keep_style_attr: false
[www.dracoandginny.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
## 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.
#is_adult:true
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
extracharacters:Draco Malfoy,Ginny Weasley
extraships:Draco Malfoy/Ginny Weasley
website_encodings:Windows-1252,utf8
[www.thealphagate.com]
## Site dedicated to these categories/characters/ships
extracategories:Stargate: SG-1
website_encodings:Windows-1252,utf8
[www.deepinmysoul.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2143,6 +2268,26 @@ extraships:Sesshoumaru/Kagome
website_encodings:Windows-1252,utf8
[www.dracoandginny.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
## 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.
#is_adult:true
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
extracharacters:Draco Malfoy,Ginny Weasley
extraships:Draco Malfoy/Ginny Weasley
website_encodings:Windows-1252,utf8
[www.efpfanfic.net]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@ -2160,14 +2305,6 @@ type_label:Type of Couple
website_encodings:Windows-1252,utf8
[fanficauthors.net]
## 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
[www.fanfiction.net]
user_agent:
## fanfiction.net's 'cover' images are really just tiny thumbnails.
@ -2234,8 +2371,10 @@ check_next_chapter:false
#is_adult:true
[www.fiction.thebrokenworld.org]
## Site dedicated to these categories/characters/ships
extracategories:Dark Angel
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
[www.fictionalley.org]
## Some sites do not require a login, but do require the user to
@ -2277,12 +2416,6 @@ slow_down_sleep_time:4
datePublished_format:%%Y-%%m-%%d %%H:%%M:%%S
dateUpdated_format:%%Y-%%m-%%d %%H:%%M:%%S
[www.fiction.thebrokenworld.org]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
[www.fimfiction.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2345,25 +2478,6 @@ keep_in_order_groupsUrl:true
make_linkhtml_entries:prequel,sequels,groups,coverSource
[www.fireflyfans.net]
website_encodings:Windows-1252,utf8,iso-8859-1
[firefly.populli.org]
## This site doesn't specifically tell you the category
extracategories:FireFly
## Extra metadata that this adapter knows about. See [dramione.org]
## for examples of how to use them.
extra_valid_entries:coauthor, size, storytype, spoilers, sequelto, prequelto, disclaimer
coauthor:Co-Author(s)
size_label:Size
storytype_label:Story Type
spoilers_label:Spoilers
sequelto_label: Sequel to
prequelto_label:Prequel to
disclaimer_label:Disclaimer
extra_titlepage_entries:coauthor, size, storytype, spoilers, sequelto, prequelto, disclaimer
website_encodings:Windows-1252,utf8,iso-8859-1
[www.giantessworld.net]
@ -2431,11 +2545,7 @@ website_encodings:Windows-1252,utf8
## Site dedicated to these categories/characters/ships
extracategories:Lord of the Rings
[www.lotrgfic.com]
extra_valid_entries:places, times
places_label: Places
times_label:Times
add_to_titlepage_entries:,places, times
[www.looselugs.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
@ -2448,7 +2558,11 @@ add_to_titlepage_entries:,places, times
#username:YourName
#password:yourpassword
[www.looselugs.com]
[www.lotrgfic.com]
extra_valid_entries:places, times
places_label: Places
times_label:Times
add_to_titlepage_entries:,places, times
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
@ -2525,6 +2639,19 @@ cover_exclusion_regexp:/stories/999/images/.*?_trophy.png
website_encodings:Windows-1252,utf8
[www.naiceanilme.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
[www.narutofic.org]
## Site dedicated to these categories/characters/ships
extracategories:Naruto
@ -2585,19 +2712,6 @@ extracategories:Queer as Folk
website_encodings:Windows-1252,utf8
[quotev.com]
user_agent:
slow_down_sleep_time:2
extra_valid_entries:pages,readers,reads,favorites,searchtags,comments
pages_label:Pages
readers_label:Readers
reads_label:Reads
favorites_label:Favorites
searchtags_label:Search Tags
comments_label:Comments
include_in_category:category,searchtags
[www.scarvesandcoffee.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2618,6 +2732,11 @@ extraships:Harry Potter/Ginny Weasley
website_encodings:Windows-1252,utf8
[www.squidge.org/peja:txt]
## Add URLs since there aren't links and remove numWords --
## www.squidge.org/peja word counts are inaccurate
titlepage_entries: series,seriesUrl,category,genre,language,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,site,storyUrl, authorUrl, description
[www.squidge.org/peja]
## www.squidge.org/peja calls it Fandom <shrug>
category_label:Fandom
@ -2625,11 +2744,6 @@ category_label:Fandom
## Remove numWords -- www.squidge.org/peja word counts are inaccurate
titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,site,description
[www.squidge.org/peja:txt]
## Add URLs since there aren't links and remove numWords --
## www.squidge.org/peja word counts are inaccurate
titlepage_entries: series,seriesUrl,category,genre,language,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,site,storyUrl, authorUrl, description
[www.starskyhutcharchive.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2650,6 +2764,12 @@ extracategories:Lord of the Rings
website_encodings:Windows-1252,utf8
[www.thealphagate.com]
## Site dedicated to these categories/characters/ships
extracategories:Stargate: SG-1
website_encodings:Windows-1252,utf8
[www.thedelphicexpanse.com]
## Site dedicated to these categories/characters/ships
extracategories:Star Trek: Enterprise
@ -2794,7 +2914,6 @@ editor_label: Editor
extra_titlepage_entries: translator, editor
[www.whofic.com]
website_encodings:Windows-1252,utf8
[www.wolverineandrogue.com]
@ -2819,135 +2938,9 @@ extracategories:Stargate: Atlantis
website_encodings:Windows-1252,utf8
[buffygiles.velocitygrass.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
[www.wuxiaworld.com]
## Authors on wuxiaworld.com create their own index pages, so it's not
## uncommon for there to be links to chapters that haven't been
## uploaded yet.
continue_on_chapter_error:true
## 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
## Site dedicated to these categories/characters/ships
extracharacters:Buffy,Giles
website_encodings:Windows-1252,utf8
[fanfiction.lucifael.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
[www.andromeda-web.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Andromeda
website_encodings:Windows-1252,utf8
[www.artemis-fowl.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Artemis Fowl
website_encodings:Windows-1252,utf8
[www.naiceanilme.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
[overrides]
## It may sometimes be useful to override all of the specific format,
## site and site:format sections in your private configuration. For
## example, this extratags param here would override all of the
## extratags params in all other sections. Only commandline options
## beat overrides.
#extratags:fanficdownloader
[teststory:defaults]
valid_entries:title,author_list,authorId_list,authorUrl_list,storyUrl,
datePublished,dateUpdated,numWords,status,language,series,seriesUrl,
rating,category_list,genre_list,warnings_list,characters_list,ships_list,
description,site,extratags
# {{storyId}} is a special case--it's the only one that works.
title:Test Story Title {{storyId}}
author_list:Test Author aa
authorId_list:1
authorUrl_list:http://test1.com?authid=1
storyUrl:http://test1.com?sid={{storyId}}
datePublished:1975-03-15
dateUpdated:1975-04-15
numWords:123,456
status:In-Progress
language:English
chaptertitles:Prologue
## Add additional sections with different numbers to get different
## parameters for different story urls.
## test1.com?sid=1000
[teststory:1000]
# note the leading commas when doing add_to_ with valid_entries and *_list
add_to_valid_entries:,favs
title:Testing New Feature {{storyId}}
author_list:Bob Smith
authorId_list:45
authorUrl_list:http://test1.com?authid=45
datePublished:2013-03-15
dateUpdated:2013-04-15
numWords:1456
favs:56
series:The Great Test [4]
seriesUrl:http://test1.com?seriesid=1
rating:Tweenie
category_list:Harry Potter,Furbie,Crossover,Puella Magi Madoka Magica/魔法少女まどか★マギカ,Magical Girl Lyrical Nanoha
genre_list:Fantasy,Comedy,Sci-Fi,Noir
warnings_list:Swearing,Violence
characters_list:Bob Smith,George Johnson,Fred Smythe
chaptertitles:Prologue,Chapter 1\, Xenos on Cinnabar,Chapter 2\, Sinmay on Kintikin,3. Chapter 3

View File

@ -464,6 +464,7 @@ chapter_title_error_mark:(CHAPTER ERROR)
#imap_mark_read:true
[base_efiction]
## At the time of writing, eFiction Base adapters 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
@ -614,6 +615,7 @@ always_use_forumtags:false
#reader_posts_per_page:10
[base_xenforoforum:epub]
## See remove_spoilers above for more about 'spoilers'. This example
## shows how to put a simple line around spoiler blocks. Uncomment
## all three lines, keep the leading space before .bbCodeSpoilerContainer.
@ -621,63 +623,10 @@ always_use_forumtags:false
#add_to_output_css:
# .bbCodeSpoilerContainer { border: 1px solid black; padding: 2px; }
## Each output format has a section that overrides [defaults]
[html]
## include images from img tags in the body and summary of
## stories. Images will be converted to jpg for size if possible.
## include_images is *only* available in epub and html output formats.
## include_images is *not* available in the web service in any format.
#include_images:false
## Note that it's *highly* recommended to use zipfile output or story
## unique destination directories to avoid overwriting images.
#output_filename: books/${author}/${title}/${title}-${siteabbrev}_${authorId}_${storyId}${formatext}
#zip_output: false
## This switch prevents FanFicFare from doing any processing on the images.
## Usually they would be converted to jpg, resized and optionally made
## grayscale.
no_image_processing: true
## output background color--only used by html and epub (and ignored in
## epub by many readers). Included below in output_css--will be
## ignored if not in output_css.
background_color: ffffff
## Allow customization of CSS. Make sure to keep at least one space
## at the start of each line and to escape % to %%. Also need
## background_color to be in the same section, if included in CSS.
output_css:
body { background-color: #%(background_color)s; }
.CI {
text-align:center;
margin-top:0px;
margin-bottom:0px;
padding:0px;
}
.center {text-align: center;}
.cover {text-align: center;}
.full {width: 100%%; }
.quarter {width: 25%%; }
.smcap {font-variant: small-caps;}
.u {text-decoration: underline;}
.bold {font-weight: bold;}
.big { font-size: larger; }
.small { font-size: smaller; }
[txt]
## Add URLs since there aren't links.
titlepage_entries: series,seriesUrl,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,storyUrl, authorUrl, description
## Width to word wrap text output. 0 indicates no wrapping.
wrap_width: 78
## use \r\n for line endings, the windows convention. text output only.
windows_eol: true
[epub]
## Each output format has a section that overrides [defaults]
## epub is already a zip file.
zip_output: false
@ -838,7 +787,63 @@ nook_img_fix:true
## useful for CLI and web service--the calibre plugin doesn't need it.
#calibre_series_meta:false
[html]
## include images from img tags in the body and summary of
## stories. Images will be converted to jpg for size if possible.
## include_images is *only* available in epub and html output formats.
## include_images is *not* available in the web service in any format.
#include_images:false
## Note that it's *highly* recommended to use zipfile output or story
## unique destination directories to avoid overwriting images.
#output_filename: books/${author}/${title}/${title}-${siteabbrev}_${authorId}_${storyId}${formatext}
#zip_output: false
## This switch prevents FanFicFare from doing any processing on the images.
## Usually they would be converted to jpg, resized and optionally made
## grayscale.
no_image_processing: true
## output background color--only used by html and epub (and ignored in
## epub by many readers). Included below in output_css--will be
## ignored if not in output_css.
background_color: ffffff
## Allow customization of CSS. Make sure to keep at least one space
## at the start of each line and to escape % to %%. Also need
## background_color to be in the same section, if included in CSS.
output_css:
body { background-color: #%(background_color)s; }
.CI {
text-align:center;
margin-top:0px;
margin-bottom:0px;
padding:0px;
}
.center {text-align: center;}
.cover {text-align: center;}
.full {width: 100%%; }
.quarter {width: 25%%; }
.smcap {font-variant: small-caps;}
.u {text-decoration: underline;}
.bold {font-weight: bold;}
.big { font-size: larger; }
.small { font-size: smaller; }
[txt]
## Add URLs since there aren't links.
titlepage_entries: series,seriesUrl,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,site,storyUrl, authorUrl, description
## Width to word wrap text output. 0 indicates no wrapping.
wrap_width: 78
## use \r\n for line endings, the windows convention. text output only.
windows_eol: true
[mobi]
## mobi TOC cannot be turned off right now.
#include_tocpage: true
@ -846,7 +851,9 @@ nook_img_fix:true
## test1.com specifically is not a real story site. Instead,
## it is a fake site for testing configuration and output. It uses
## URLs like: http://test1.com?sid=12345
[test1.com]
extratags: FanFiction,Testing
# extracategories:Fafner
@ -876,15 +883,74 @@ extratags: FanFiction,Testing
# characters=>Harry P\.=>Harry Potter
[test1.com:txt]
## If necessary, you can define [<site>:<format>] sections to
## customize the formats differently for the same site. Overrides
## defaults, format and site.
[test1.com:txt]
extratags: FanFiction,Testing,Text
[test1.com:html]
extratags: FanFiction,Testing,HTML
[teststory:defaults]
valid_entries:title,author_list,authorId_list,authorUrl_list,storyUrl,
datePublished,dateUpdated,numWords,status,language,series,seriesUrl,
rating,category_list,genre_list,warnings_list,characters_list,ships_list,
description,site,extratags
# {{storyId}} is a special case--it's the only one that works.
title:Test Story Title {{storyId}}
author_list:Test Author aa
authorId_list:1
authorUrl_list:http://test1.com?authid=1
storyUrl:http://test1.com?sid={{storyId}}
datePublished:1975-03-15
dateUpdated:1975-04-15
numWords:123,456
status:In-Progress
language:English
chaptertitles:Prologue
[teststory:1000]
## Add additional sections with different numbers to get different
## parameters for different story urls.
## test1.com?sid=1000
# note the leading commas when doing add_to_ with valid_entries and *_list
add_to_valid_entries:,favs
title:Testing New Feature {{storyId}}
author_list:Bob Smith
authorId_list:45
authorUrl_list:http://test1.com?authid=45
datePublished:2013-03-15
dateUpdated:2013-04-15
numWords:1456
favs:56
series:The Great Test [4]
seriesUrl:http://test1.com?seriesid=1
rating:Tweenie
category_list:Harry Potter,Furbie,Crossover,Puella Magi Madoka Magica/魔法少女まどか★マギカ,Magical Girl Lyrical Nanoha
genre_list:Fantasy,Comedy,Sci-Fi,Noir
warnings_list:Swearing,Violence
characters_list:Bob Smith,George Johnson,Fred Smythe
chaptertitles:Prologue,Chapter 1\, Xenos on Cinnabar,Chapter 2\, Sinmay on Kintikin,3. Chapter 3
[overrides]
## It may sometimes be useful to override all of the specific format,
## site and site:format sections in your private configuration. For
## example, this extratags param here would override all of the
## extratags params in all other sections. Only commandline options
## beat overrides.
#extratags:fanficdownloader
[adult-fanfiction.org]
extra_valid_entries:eroticatags,disclaimer
eroticatags_label:Erotica Tags
@ -899,11 +965,9 @@ extra_titlepage_entries:eroticatags,disclaimer
#password:yourpassword
[archive.shriftweb.org]
website_encodings:Windows-1252,utf8,iso-8859-1
[archive.skyehawke.com]
website_encodings:Windows-1252,utf8
[archiveofourown.org]
@ -1077,14 +1141,12 @@ extracategories:Blood Ties
website_encodings:Windows-1252,utf8
[chosentwofanfic.com]
extra_valid_entries:disclaimer
disclaimer_label: Disclaimer
add_to_titlepage_entries:,disclaimer
[buffygiles.velocitygrass.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
website_encodings:Windows-1252,utf8,iso-8859-1
[fanfic.castletv.net]
## 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
@ -1092,13 +1154,8 @@ website_encodings:Windows-1252,utf8,iso-8859-1
#username:YourName
#password:yourpassword
## 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.
#is_adult:true
## Site dedicated to these categories/characters/ships
extracategories:Castle
extracharacters:Buffy,Giles
website_encodings:Windows-1252,utf8
@ -1114,6 +1171,13 @@ cover_exclusion_regexp:/images/.*?ribbon.gif
website_encodings:Windows-1252,utf8
[chosentwofanfic.com]
extra_valid_entries:disclaimer
disclaimer_label: Disclaimer
add_to_titlepage_entries:,disclaimer
website_encodings:Windows-1252,utf8,iso-8859-1
[csi-forensics.com]
## Some sites also require the user to confirm they are adult for
## adult content. In commandline version, this should go in your
@ -1223,6 +1287,24 @@ cover_exclusion_regexp:/images/.*?ribbon.gif
website_encodings:Windows-1252,utf8
[fanfic.castletv.net]
## 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
## 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.
#is_adult:true
## Site dedicated to these categories/characters/ships
extracategories:Castle
website_encodings:Windows-1252,utf8
[fanfic.hu]
## website encoding(s) In theory, each website reports the character
## encoding they use for each page. In practice, some sites report it
@ -1236,22 +1318,6 @@ website_encodings:ISO-8859-1,auto
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
[fanfiction.mugglenet.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
[fanfic.potterheadsanonymous.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -1270,10 +1336,46 @@ extracategories:Harry Potter
website_encodings:Windows-1252,utf8
[fanfiction-junkies.de]
[fanficauthors.net]
## 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
[fanfiction-junkies.de]
website_encodings:Windows-1252,utf8
[fanfiction.lucifael.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
[fanfiction.mugglenet.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
[fanfiction.tenhawkpresents.com]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@ -1426,6 +1528,24 @@ universe_as_series: true
## cover image. This lets you exclude them.
cover_exclusion_regexp:/css/bir.png
[firefly.populli.org]
## This site doesn't specifically tell you the category
extracategories:FireFly
## Extra metadata that this adapter knows about. See [dramione.org]
## for examples of how to use them.
extra_valid_entries:coauthor, size, storytype, spoilers, sequelto, prequelto, disclaimer
coauthor:Co-Author(s)
size_label:Size
storytype_label:Story Type
spoilers_label:Spoilers
sequelto_label: Sequel to
prequelto_label:Prequel to
disclaimer_label:Disclaimer
extra_titlepage_entries:coauthor, size, storytype, spoilers, sequelto, prequelto, disclaimer
website_encodings:Windows-1252,utf8,iso-8859-1
[forum.questionablequesting.com]
## see [base_xenforoforum]
@ -1745,6 +1865,8 @@ extracategories:The Pretender
website_encodings:Windows-1252,utf8
[quotev.com]
user_agent:
slow_down_sleep_time:2
extra_valid_entries:pages,readers,reads,favorites,searchtags,comments
pages_label:Pages
readers_label:Readers
@ -1941,7 +2063,6 @@ extracategories:Lord of the Rings
website_encodings:iso-8859-1,Windows-1252
[trekfanfiction.net]
website_encodings:Windows-1252,utf8,iso-8859-1
[trekiverse.org]
@ -2002,12 +2123,6 @@ add_to_titlepage_entries:,storynotes
## Site dedicated to these categories/characters/ships
extracategories:Labyrinth
[www.wuxiaworld.com]
## Authors on wuxiaworld.com create their own index pages, so it's not
## uncommon for there to be links to chapters that haven't been
## uploaded yet.
continue_on_chapter_error:true
[www.adastrafanfic.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2029,6 +2144,78 @@ website_encodings:Windows-1252,utf8
#username:YourName
#password:yourpassword
[www.andromeda-web.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Andromeda
website_encodings:Windows-1252,utf8
[www.area52hkh.net]
## Extra metadata that this adapter knows about. See [dramione.org]
## for examples of how to use them.
extra_valid_entries:season, size, spoilers, authorinfo
season_label:Season/Episode
size_label:Size
spoilers_label:Spoilers
authorinfo_label: Author's Info
add_to_titlepage_entries:,season, size, spoilers, authorinfo
[www.artemis-fowl.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Artemis Fowl
website_encodings:Windows-1252,utf8
[www.asexstories.com]
## Some sites also require the user to confirm they are adult for
## adult content. Uncomment by removing '#' in front of is_adult.
#is_adult:true
## This site has links to a vidow site embeded in the text. They are
## not needed, and will be removed if the below property is set to true
strip_text_links:true
[www.asianfanfics.com:epub]
## This is a workaround to replace AFF's abbreviated chapter titles
## present in chapter list. Uncomment this to remove the usual,
## shorter chapter title.
#chapter_start:<?xml version="1.0" encoding="UTF-8"?>
# <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>${chapter}</title>
# <link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
# <meta name="chapterurl" content="${url}"></meta>
# <meta name="chapterorigtitle" content="${origchapter}"></meta>
# <meta name="chaptertoctitle" content="${tocchapter}"></meta>
# <meta name="chaptertitle" content="${chapter}"></meta>
# </head>
# <body>
[www.asianfanfics.com]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@ -2060,42 +2247,6 @@ include_in_category:tags
## chapter_start to remove the standard chapter title, as shown below.
inject_chapter_title:false
[www.asianfanfics.com:epub]
## This is a workaround to replace AFF's abbreviated chapter titles
## present in chapter list. Uncomment this to remove the usual,
## shorter chapter title.
#chapter_start:<?xml version="1.0" encoding="UTF-8"?>
# <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml">
# <head>
# <title>${chapter}</title>
# <link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
# <meta name="chapterurl" content="${url}"></meta>
# <meta name="chapterorigtitle" content="${origchapter}"></meta>
# <meta name="chaptertoctitle" content="${tocchapter}"></meta>
# <meta name="chaptertitle" content="${chapter}"></meta>
# </head>
# <body>
[www.asexstories.com]
## Some sites also require the user to confirm they are adult for
## adult content. Uncomment by removing '#' in front of is_adult.
#is_adult:true
## This site has links to a vidow site embeded in the text. They are
## not needed, and will be removed if the below property is set to true
strip_text_links:true
[www.area52hkh.net]
## Extra metadata that this adapter knows about. See [dramione.org]
## for examples of how to use them.
extra_valid_entries:season, size, spoilers, authorinfo
season_label:Season/Episode
size_label:Size
spoilers_label:Spoilers
authorinfo_label: Author's Info
add_to_titlepage_entries:,season, size, spoilers, authorinfo
[www.bdsmlibrary.com]
## Some sites also require the user to confirm they are adult for
## adult content. Uncomment by removing '#' in front of is_adult.
@ -2108,32 +2259,6 @@ eroticatags_label:Erotica Tags
extra_titlepage_entries:size,comments,eroticatags
keep_style_attr: false
[www.dracoandginny.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
## 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.
#is_adult:true
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
extracharacters:Draco Malfoy,Ginny Weasley
extraships:Draco Malfoy/Ginny Weasley
website_encodings:Windows-1252,utf8
[www.thealphagate.com]
## Site dedicated to these categories/characters/ships
extracategories:Stargate: SG-1
website_encodings:Windows-1252,utf8
[www.deepinmysoul.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2165,6 +2290,26 @@ extraships:Sesshoumaru/Kagome
website_encodings:Windows-1252,utf8
[www.dracoandginny.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
## 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.
#is_adult:true
## Site dedicated to these categories/characters/ships
extracategories:Harry Potter
extracharacters:Draco Malfoy,Ginny Weasley
extraships:Draco Malfoy/Ginny Weasley
website_encodings:Windows-1252,utf8
[www.efpfanfic.net]
## Some sites require login (or login for some rated stories) The
## program can prompt you, or you can save it in config. In
@ -2182,14 +2327,6 @@ type_label:Type of Couple
website_encodings:Windows-1252,utf8
[fanficauthors.net]
## 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
[www.fanfiction.net]
user_agent:
## fanfiction.net's 'cover' images are really just tiny thumbnails.
@ -2247,8 +2384,10 @@ check_next_chapter:false
#is_adult:true
[www.fiction.thebrokenworld.org]
## Site dedicated to these categories/characters/ships
extracategories:Dark Angel
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
[www.fictionalley.org]
## Some sites do not require a login, but do require the user to
@ -2293,12 +2432,6 @@ slow_down_sleep_time:4
datePublished_format:%%Y-%%m-%%d %%H:%%M:%%S
dateUpdated_format:%%Y-%%m-%%d %%H:%%M:%%S
[www.fiction.thebrokenworld.org]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
[www.fimfiction.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2361,25 +2494,6 @@ keep_in_order_groupsUrl:true
make_linkhtml_entries:prequel,sequels,groups,coverSource
[www.fireflyfans.net]
website_encodings:Windows-1252,utf8,iso-8859-1
[firefly.populli.org]
## This site doesn't specifically tell you the category
extracategories:FireFly
## Extra metadata that this adapter knows about. See [dramione.org]
## for examples of how to use them.
extra_valid_entries:coauthor, size, storytype, spoilers, sequelto, prequelto, disclaimer
coauthor:Co-Author(s)
size_label:Size
storytype_label:Story Type
spoilers_label:Spoilers
sequelto_label: Sequel to
prequelto_label:Prequel to
disclaimer_label:Disclaimer
extra_titlepage_entries:coauthor, size, storytype, spoilers, sequelto, prequelto, disclaimer
website_encodings:Windows-1252,utf8,iso-8859-1
[www.giantessworld.net]
@ -2447,11 +2561,7 @@ website_encodings:Windows-1252,utf8
## Site dedicated to these categories/characters/ships
extracategories:Lord of the Rings
[www.lotrgfic.com]
extra_valid_entries:places, times
places_label: Places
times_label:Times
add_to_titlepage_entries:,places, times
[www.looselugs.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
@ -2464,7 +2574,11 @@ add_to_titlepage_entries:,places, times
#username:YourName
#password:yourpassword
[www.looselugs.com]
[www.lotrgfic.com]
extra_valid_entries:places, times
places_label: Places
times_label:Times
add_to_titlepage_entries:,places, times
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
@ -2541,6 +2655,19 @@ cover_exclusion_regexp:/stories/999/images/.*?_trophy.png
website_encodings:Windows-1252,utf8
[www.naiceanilme.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
[www.narutofic.org]
## Site dedicated to these categories/characters/ships
extracategories:Naruto
@ -2601,19 +2728,6 @@ extracategories:Queer as Folk
website_encodings:Windows-1252,utf8
[quotev.com]
user_agent:
slow_down_sleep_time:2
extra_valid_entries:pages,readers,reads,favorites,searchtags,comments
pages_label:Pages
readers_label:Readers
reads_label:Reads
favorites_label:Favorites
searchtags_label:Search Tags
comments_label:Comments
include_in_category:category,searchtags
[www.scarvesandcoffee.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2634,6 +2748,11 @@ extraships:Harry Potter/Ginny Weasley
website_encodings:Windows-1252,utf8
[www.squidge.org/peja:txt]
## Add URLs since there aren't links and remove numWords --
## www.squidge.org/peja word counts are inaccurate
titlepage_entries: series,seriesUrl,category,genre,language,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,site,storyUrl, authorUrl, description
[www.squidge.org/peja]
## www.squidge.org/peja calls it Fandom <shrug>
category_label:Fandom
@ -2641,11 +2760,6 @@ category_label:Fandom
## Remove numWords -- www.squidge.org/peja word counts are inaccurate
titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,site,description
[www.squidge.org/peja:txt]
## Add URLs since there aren't links and remove numWords --
## www.squidge.org/peja word counts are inaccurate
titlepage_entries: series,seriesUrl,category,genre,language,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,site,storyUrl, authorUrl, description
[www.starskyhutcharchive.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
@ -2666,6 +2780,12 @@ extracategories:Lord of the Rings
website_encodings:Windows-1252,utf8
[www.thealphagate.com]
## Site dedicated to these categories/characters/ships
extracategories:Stargate: SG-1
website_encodings:Windows-1252,utf8
[www.thedelphicexpanse.com]
## Site dedicated to these categories/characters/ships
extracategories:Star Trek: Enterprise
@ -2810,7 +2930,6 @@ editor_label: Editor
extra_titlepage_entries: translator, editor
[www.whofic.com]
website_encodings:Windows-1252,utf8
[www.wolverineandrogue.com]
@ -2835,135 +2954,9 @@ extracategories:Stargate: Atlantis
website_encodings:Windows-1252,utf8
[buffygiles.velocitygrass.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
[www.wuxiaworld.com]
## Authors on wuxiaworld.com create their own index pages, so it's not
## uncommon for there to be links to chapters that haven't been
## uploaded yet.
continue_on_chapter_error:true
## 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
## Site dedicated to these categories/characters/ships
extracharacters:Buffy,Giles
website_encodings:Windows-1252,utf8
[fanfiction.lucifael.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
[www.andromeda-web.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Andromeda
website_encodings:Windows-1252,utf8
[www.artemis-fowl.com]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
## Site dedicated to these categories/characters/ships
extracategories:Artemis Fowl
website_encodings:Windows-1252,utf8
[www.naiceanilme.net]
## Some sites do not require a login, but do require the user to
## confirm they are adult for adult content. In commandline version,
## this should go in your personal.ini, not defaults.ini.
#is_adult:true
## 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
[overrides]
## It may sometimes be useful to override all of the specific format,
## site and site:format sections in your private configuration. For
## example, this extratags param here would override all of the
## extratags params in all other sections. Only commandline options
## beat overrides.
#extratags:fanficdownloader
[teststory:defaults]
valid_entries:title,author_list,authorId_list,authorUrl_list,storyUrl,
datePublished,dateUpdated,numWords,status,language,series,seriesUrl,
rating,category_list,genre_list,warnings_list,characters_list,ships_list,
description,site,extratags
# {{storyId}} is a special case--it's the only one that works.
title:Test Story Title {{storyId}}
author_list:Test Author aa
authorId_list:1
authorUrl_list:http://test1.com?authid=1
storyUrl:http://test1.com?sid={{storyId}}
datePublished:1975-03-15
dateUpdated:1975-04-15
numWords:123,456
status:In-Progress
language:English
chaptertitles:Prologue
## Add additional sections with different numbers to get different
## parameters for different story urls.
## test1.com?sid=1000
[teststory:1000]
# note the leading commas when doing add_to_ with valid_entries and *_list
add_to_valid_entries:,favs
title:Testing New Feature {{storyId}}
author_list:Bob Smith
authorId_list:45
authorUrl_list:http://test1.com?authid=45
datePublished:2013-03-15
dateUpdated:2013-04-15
numWords:1456
favs:56
series:The Great Test [4]
seriesUrl:http://test1.com?seriesid=1
rating:Tweenie
category_list:Harry Potter,Furbie,Crossover,Puella Magi Madoka Magica/魔法少女まどか★マギカ,Magical Girl Lyrical Nanoha
genre_list:Fantasy,Comedy,Sci-Fi,Noir
warnings_list:Swearing,Violence
characters_list:Bob Smith,George Johnson,Fred Smythe
chaptertitles:Prologue,Chapter 1\, Xenos on Cinnabar,Chapter 2\, Sinmay on Kintikin,3. Chapter 3

54
ini-order.py Normal file
View File

@ -0,0 +1,54 @@
import re
import sys
argv = sys.argv[1:]
# infile = argv[0]
# outfile = argv[1]
sections = {}
cursectname = ""
cursectlines = []
with open(argv[0],"r") as infile:
for line in infile:
if re.match(r"^\[([^\]]+)\]$",line):
sections[cursectname] = cursectlines
cursectname = line.strip()
cursectlines = [line]
else:
cursectlines.append(line)
sections[cursectname] = cursectlines
leadsects = [
"",
"[defaults]",
"[base_efiction]",
"[base_xenforoforum]",
"[base_xenforoforum:epub]",
"[epub]",
"[html]",
"[txt]",
"[mobi]",
"[test1.com]",
"[test1.com:txt]",
"[test1.com:html]",
"[teststory:defaults]",
"[teststory:1000]",
"[overrides]",
]
followsects = [
]
with open(argv[1],"w") as outfile:
kl = sections.keys()
kl.sort()
for k in leadsects:
outfile.write("".join(sections[k]))
for k in kl:
if k not in (leadsects + followsects):
outfile.write("".join(sections[k]))
for k in followsects:
outfile.write("".join(sections[k]))