riderkick / FMD

Forked from https://sf.net/p/fmd/
GNU General Public License v2.0
721 stars 213 forks source link

Download - Mangahasu not working #1706

Closed leoteesh closed 5 years ago

leoteesh commented 5 years ago

Hi,

Is anyone else having error in downloading from mangahasu from last night? i have checked the website and that works fine?

image

Thanks

SDXC commented 5 years ago

CloudFlare is blocking FMD. You can add the CF cookies to FMD and it'll work after that. See: https://github.com/riderkick/FMD/wiki/FAQ

leoteesh commented 5 years ago

thank you for this - i am a bit confused. this is for mangadex and kissmanga, how would i use this for mangahasu? i did the below but it does not work. could you please advise as what i am doing wrong? image

SDXC commented 5 years ago

There are 3 cookie settings, that you should copy and paste correctly into FMD:

MangaHasuCFWorkaround

The cookie settings in FMD should be in the following format:

__cfduid=xxxxxxxxxxxxxxxxxxxxxxxx; cf_clearance=xxxxxxxxxxxxxxxxxxxxxxxxxx; ci_session=xxxxxxxxxxxxxxxxxx

Please take note to correctly place the '=' and ';' characters! Also don't forget to "Apply" the settings.

The sessions won't last that long, so you have to repeat this regularily.

Tmp341 commented 5 years ago

But that UpdateDirectoryPagenumber isn't correct. For example, it is 267 for Kissmanga.

For mangahasu, try 856.

leoteesh commented 5 years ago

Thanks, i managed to make it work yesterday but it stopped working again today! image i updated the cookie setting again but still doesn't work image

SDXC commented 5 years ago

That's what I meant by "The sessions won't last that long, so you have to repeat this regularily."

I think after 30 minutes of inactivity CloudFlare re-issues your id and you therefore get new cookies that you, once again, have to put into FMD.

leoteesh commented 5 years ago

Thanks - i updated it but unfortunately it still didn't work - will try again.

Tmp341 commented 5 years ago

Try to do it in one line : __cfduid=xxxxxxxxxxxxxxxxxx; cf_clearance=xxxxxxxxxxxxxxxxxxxxxxxxxx; ci_session=xxxxxxxxxxxxxxxxxx

leoteesh commented 5 years ago

tried it but still no luck :(

image

__cfduid=ddd9e91cc06abdc5dc65c0da7d5f9ea651526811293;cf_clearance=c6f638a4103513896893214392b90f30aa6bcb41-1553519504-28800-150;ci_session=a51ihtjhjlte02dbmueeco4k7o0ifd7l image

SDXC commented 5 years ago

That's how I did it right now, which worked:

Using Firefox, go to one of the manga pages on MangaHasu. Enable debugging (F12) and open one of the chapters (for example: http://mangahasu.se/karakai-jouzu-no-takagi-san/vol-99-returning-the-favor-c672942.html )

If CloudFlare pops up, you'll get new cookie settings, which can be found in the debugging tools after the chapter page has been loaded completely (when you finally see the chapter images).

Put the new cookie settings in FMD now and apply. Now you should be able to download again.

-> You only get new cf_clearance or __cfduid after you actually witnessed the CF page, because that is actually more or less the one responsible for giving you new ids.

leoteesh commented 5 years ago

Great thanks so much :) So guess will have to do this each time i restart FMD

SDXC commented 5 years ago

@leoteesh Please close this ticket if everything is okay for you. It's easier for me to check the old tickets in riderkicks repo if the actually fixed/added/etc. issues are closed. A general Cloudflare bypass is planned.

leoteesh commented 5 years ago

Hi, still having problems with it but using the above in mean time. Thank you for the help Will close