Skip to content
This repository has been archived by the owner on Oct 31, 2020. It is now read-only.

CF Workaround: JapScan

SDXC edited this page Mar 29, 2019 · 9 revisions

JapScan uses a first-tier Cloudflare instance that checks the browser session at the first visit. The lifespan of Cloudflare browser sessions are relatively short and you will have to repeat the following steps everytime you get to see a new Cloudflare browser check.


The problem

When trying to fetch manga info or checking for new chapters FMD can't get any infos or chapters. Trying to manually check the manga info, could result in this:

FMDMangaInfoNotFound


Go to the website

Go to JapScan and wait until the Cloudflare browser check is done and redirects you to the actual webpage:

FirstTierCloudflareBrowserCheck


Get the UserAgent string

The following steps were done with Mozilla Firefox. Other browsers also have developer tools, but are a bit different.

After the website is loaded properly, press F12 to open the developer tools. When the bottom bar of the devtools has popped up, refresh the website by hitting F5. Go to the "Networkanalysis" tab in the devtools pane and select an element in the list (the top element is probably the best choice). Next to the element list you can now find the detailed session information, such as the UserAgent string and cookies. Start with getting the UserAgent of your browser:

FirefoxUserAgent

Now you have to put the UserAgent string into the advanced settings for JapScan in FMD and set all shown values to 1:

FMDAddUserAgent


Get the session cookies

To get the cookies you can change to the Cookies tab in the detailed session pane of the selected element:

FirefoxCookies

These cookies all have to be added to the advanced settings for JapScan in FMD:

FMDAddCookieSettings

The cookies in FMD should be set in the following format: __cfduid=xxxxxx; cf_clearance=xxxxxx; session=xxxxxx

Please note, that you have to correctly set the '=' and ';' characters!


Get manga info and download chapters

If everything was done correctly, you should be able to get the manga info...:

FMDMangaInfoFound

...and download the chapters:

FMDDownloadWorks

Clone this wiki locally