Warning
Very hacky/buggy code - USE WITH CAUTION
This python3 script help FanFicFare bypass the Cloudflare challenge on FanFiction.net by making the user manually resolve the captcha.
First, check the docs folder. If the documentation for your platform is missing, try:
- Create a new python virtual env in ~/temp/ffproxy with
python -m venv ~/temp/ffproxy - Update pip in the venv:
~/temp/ffproxy/bin/python -m pip install --upgrade pip - Install the requirements in the venv:
~/temp/ffproxy/bin/python -m pip install -r requirements.txt
You need to edit FanFicFare' personal.ini to enable this proxy.
Change the :
[www.fanfiction.net]
use_nsapa_proxy:true
use_cloudscraper:false- Run
~/temp/ffproxy/bin/python ./chrome_content.py - Wait until you see
Listening on 127.0.0.1:8888 - You can now use FanFicFare with this proxy :)
Run in FanFicFare folder:
PYTHONPATH=.
export PYTHONPATH
python3 ./fanficfare/cli.py -c personnal.ini -d 'https://www.fanfiction.net/s/12266465/1/' Important
If you see Complete the captcha then press enter, switch to the Chromium window and do the captcha.
Press Enter when you're done, the page will reload and FanFicFare should be able to download the fiction.