View Single Post
Old 05-22-2024, 06:34 PM   #9624
w4tchdoge
Enthusiast
w4tchdoge began at the beginning.
 
w4tchdoge's Avatar
 
Posts: 29
Karma: 10
Join Date: Jul 2023
Device: Calibre
Question Unable to download unlisted fiction from Sufficient Velocity

I've got one fiction on SV (https://forums.sufficientvelocity.com/threads/124754/) that's been moved to the unlisted fiction section at some point and I can no longer update it via FFF. The error log says HTTP Error in FFF '403 Client Error: Forbidden for url: https://forums.sufficientvelocity.com/login'(403) but I've set my login details in my INI file.

INI file sections relevant to SV:

Spoiler:
Code:
[defaults]
is_adult:true

no_image_processing:true
remove_transparency: false

dateCreated_format:%%Y-%%m-%%d %%H:%%M:%%S
datePublished_format:%%Y-%%m-%%d
dateUpdated_format:%%Y-%%m-%%d

extratags:

browser_cache_path:C:\Users\User\AppData\Local\Google\Chrome\User Data\Default\Cache\Cache_Data
browser_cache_age_limit:0.2


[epub]
include_images:true

keep_summary_html:true

make_firstimage_cover:false

add_to_extra_valid_entries:,GC_status_wipe,OneShot_bool,force_Status_Completed,manualDate
include_in_GC_status_wipe:"No"
include_in_OneShot_bool:"No"
include_in_force_Status_Completed:"Completed"

output_css:
 body { text-align:justify; margin:2%%; adobe-hyphenate:none }
 pre { font-size:x-small }
 h1 { text-align:center }
 h2 { text-align:center }
 h3 { text-align:center }
 h4 { text-align:center }
 h5 { text-align:center }
 h6 { text-align:center }
 .CI { text-align:center; margin-top:0; margin-bottom:0; padding:0 }
 .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:700 }
 .big { font-size:larger }
 .small { font-size:smaller }
 .fff_titlepage hr { border-top: 1px; border-style: solid none none none; }
 .fff_titlepage [id="underTitle-horRule"] { border-top: medium; border-style: solid none none none; }

titlepage_start:<?xml version="1.0" encoding="UTF-8"?>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>${title} by ${author}</title>
 <link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
 </head>
 <body class="fff_titlepage">
 <div class="title">
 <h2><a href="${storyUrl}">${title}</a> by ${authorHTML}</h2>
 </div>
 <hr id="underTitle-horRule"/>
 <div>

titlepage_entry:
 <b>${label}:</b> ${value}<br/>

titlepage_wide_entry:
 <b>${label}:</b> ${value}<br/>

titlepage_no_title_entry:

titlepage_end:
 </div>
 </body>
 </html>


[base_xenforoforum]
add_to_exclude_metadata_pre:
 prefix_tags=~Commission

legend_spoilers:true

user_agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

add_to_extratags:,From CrW Forums

# Getting rid of any titlepage shennanigans that might interfere with the one in [base_xenforoforum:epub]
titlepage_entries:
add_to_titlepage_entries:,
wide_titlepage_entries:
extra_titlepage_entries:,
add_to_extra_titlepage_entries:,

add_to_custom_columns_settings:
 dateUpdated=>#fff_dateupdated
 numChapters=>#fff_chapter_count
 status=>#fff_status
 numWords=>#fff_words
 cover_image=>#cover_type

[base_xenforoforum:epub]
add_to_extra_valid_entries:,normalized_storyUrl
include_in_normalized_storyUrl:storyUrl

add_to_replace_metadata:
 normalized_storyUrl=>(https?:\/\/forums?\..*?\.com\/(threads|posts)\/)(.*\.)?(\d+\/)(\?post.\d+.*\D(\d+))?=>\1\4\5

titlepage_entries:seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,publisher,description

titlepage_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>${title} by ${author}</title>
 <link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
 </head>
 <body class="fff_titlepage">
 <div class="title">
 <h2><a href="${normalized_storyUrl}">${title}</a> by ${authorHTML}</h2>
 </div>
 <hr id="underTitle-horRule"/>
 <div>

titlepage_entry:
 <b>${label}:</b> ${value}<br/>

titlepage_end:
 </div>
 </body>
 </html>


[forums.sufficientvelocity.com]
username:XXXXXXXX
password:XXXXXXXX
always_login:true

add_to_extratags:,From SV

add_to_extra_valid_entries:,fin_forumtags,user_added_forumtags,prefix_tags
add_to_extra_titlepage_entries:,tagsfromtitle,fin_forumtags

fin_forumtags_label:Tags from Forum

include_in_fin_forumtags:forumtags
include_in_prefix_tags:fin_forumtags,tagsfromtitle
#include_in_prefix_tags:forumtags,tagsfromtitle

generate_cover_settings:
 ${publisher}=>sufficientvelocity.com=>SufficientVelocity
# ${cover_image} => ((specific)|(first)|(default)|(^$)) => SufficientVelocity

add_to_replace_metadata:
 prefix_tags=>^(.*)=>[SV] [t] \1

include_subject_tags:prefix_tags,extratags


If anyone can let me know whether there's something in my config that's messing this up it'd be greatly appreciated.
w4tchdoge is offline   Reply With Quote