ProxyFeatures - JimmXinu/FanFicFare GitHub Wiki
Proxy Features
FanFicFare has the ability to use two different proxy programs to do web requests. These proxies use headless browser instances to work around certain blocking and browser verification issues, primarily Cloudflare.
Proxy settings overrides use_cloudscraper
, but use_browser_cache
(and use_browser_cache_only
) are still applied, even if a proxy is configured. So a user can configure both, using the saved browser cache version when available, and the proxy when it's not. Only one proxy may be used at a time, but which one can be selected by site.
Note: I consider installing and running the proxy programs outside the scope of what I, personally, support. Please address such questions and issues in the respective proxy project.
nsapa's fanfictionnet_ff_proxy
The first is fanfictionnet_ff_proxy, made by @nsapa. It was specifically made for FanFicFare and fanfiction.net, but there has been at least one report of it working with other story sites.
See @nsapa's fanfictionnet_ff_proxy page for how to install and run the proxy.
You configure the proxy in personal.ini
like this:
[www.fanfiction.net]
use_nsapa_proxy:true
# option settings, these are the defaults:
#nsapa_proxy_address:127.0.0.1
#nsapa_proxy_port:8888
FlareSolverr
FlareSolverr is a general purpose proxy server to bypass Cloudflare protection.
See the FlareSolverr project page for how to install and run the proxy.
Note: FlareSolverr v2 and newer are better able to handle newer Cloudflare challenges, but remove the ability to download binary image files. At the time of this writing (Nov 2021), you need to use Flaresolverr v1.2.9 to get images through FlareSolverr.
FlareSolverr proxy has been seen to work with FanFicFare on several sites that block FFF directly, including:
- fanfiction.net
- fictionpress.com
- novelfull.com
- wuxiaworld.site
It has also been seen to not work with login on XenForoForum sites, including: forums.spacebattles.com, forums.sufficientvelocity.com, forum.questionablequesting.com, etc.
NOTE: I have found it helps with FlareSolverr for fanfiction.net if you first visit a story URL in browser and wait for the CloudFlare verification to finish before trying to use FFF and FlareSolverr.
You configure the proxy in personal.ini
like this, changing the site section as desired:
[www.fanfiction.net]
use_flaresolverr_proxy:true
# option settings, these are the defaults:
#flaresolverr_proxy_address:localhost
#flaresolverr_proxy_port:8191
#flaresolverr_proxy_protocol:http