/fakku-downloader

Script that allows download manga directly from fakku.net.

Primary LanguagePythonMIT LicenseMIT

fakku-downloader

Fakku-downloader - this is python script that allows download manga directly from fakku.net.

The problem

Fakku.net manga reader has a good protect from download.

As far as I know, Manga reader first decodes the encrypted image and then displays it on the html canvas. This is done so tricky that I could not find a way to automate the downloading of canvas because the JS functions for this are blocked in the domain. Therefore, in order to download manga, you need to do some non-trivial actions manually. And this will have to be done separately for each page.

The easiest solution

In my opinion, the simplest and fastest solution for downloading manga from fakku.net is to simply open it in a browser and save a screenshot of each page. Fakku-downloader automates this process in background using headless browser.

How to launch

  1. Download or clone this repository
  2. Download ChromeDriver the same version as you Chrome Browser and move it in root folder. (Rename it to chromedriver.exe)
  3. Create urls.txt file in root folder and write into that urls of manga one by line
  4. Install all requirements for script via run install.bat (for Windows) or run pip install -r requirements.txt
  5. Open root folder in command line and run the command python main.py

Some features

  • Use option -w for set wait time between loading the pages. If quality of .png is bad, or program somewhere crush its can help.
  • Use option -t for set timeout for loading first page.
  • Use option -l and -p for write the login and password from fakku.net
  • More option technical you can find via --help

Working example

  1. After downloading the repository, chromedriver and creating urls.txt file, root folder will be like this:

2. Urls in urls.txt views like this:

3. Write the command: python main.py

4. If you launch program in first time, you need to login in opening browser and press enter in console. After that program save the cookies and will be use it in next runs in headless browser mode and skeep this step.

5. Downloading process

6. The program will create its own folder for each manga in urls.txt

7. And inside in each folder you can see the manga pages in the most affordable quality as in a browser.

Extra: Download URLs from a Collection

If you have a collection that has the manga that you would like to download, you can generate a urls.txt file that has all of its links.

Setup as above, and then call like this:

python main.py -z https://www.fakku.net/users/MY-USER-12345/collections/MY-COLLECTION

This will make a urls.txt file with the links, then run the program as normal with this file as input.