raulhaag / MiMangaNu

*ES - Lector de Manga online / offline, gratuito y de código abierto. *EN - Manga reader online / offline, free and open source. *FR - Lecteur de manga en ligne / hors ligne, gratuit et open source. *DE - Eine App um Manga zu lesen. Man kann damit Manga online und offline lesen. Es ist kostenlos und quelloffen. *IT - Manga lettore online / offline, gratuito e open source. *RU - В России Манга читает вас. Попробуйте MiMangaNu прямо сейчас.
277 stars 73 forks source link

Manga Source #89

Closed mitsuketta closed 9 years ago

mitsuketta commented 9 years ago

Since StarKana is dead, you can use mangareader.net or mangaeden.com. It's only a suggestion.

Johndeep commented 9 years ago

Not only StarKana is dead, it seems that KissManga currently has a different IP than hardcoded in the source, so MiMangaNu can't find the site anymore (for now at least).

This made me think if you could at least separate all the manga sources, which is apparently "hardcoded" into the app, out to scripts, like lua, scheme or whatever comes in mind for being easy but powerful. It would make the then formed scripts much more flexible, if manga sources or the websites changes their address or even API.

It would also be nice and practical, if there is a way to select or deselect the sources. I claim there are sources not everyone likes (because i.e. quality) or can use (i.e. can't read english or spanish).

Johndeep commented 9 years ago

By the way, is there a reason why only KissManga seems to have a fixed IP address written into the source? I mean, all the other sources seems to "get" the source rather than "post"ing it..

raulhaag commented 9 years ago

Because they kick you if dont you use a browser using cloudflare, etc

Johndeep commented 9 years ago

Hmm, that's unfortunate.. so that's the reason for cloudflare Error 1003, meh.. By the way, as this would match the topic (well the title name at least), is there a chance to have bato.to in the source list? Would be nice..

mitsuketta commented 9 years ago

I noticed KissManga's problem,I thought it was a temporary problem.

raulhaag commented 9 years ago

fixed kissmanga on next version, advice me when english sources are bad because i don´t use them, about bato.to is to irregular, mangareader.net only list for now on next version ready i go to post the fixes and add this night

Johndeep commented 9 years ago

Thank you for fixing kissmanga, still have stuffs to read on that source. ^^" As this is still about manga source, mind to add a german source, in this case wiemanga.com, it also has the cloudflare thing like kissmanga by the way.

Well, about the advice, all the current English sources (except StarKana, which is apparently dead now, so I've never got to know it) are good enough, some just make bold shrinking or watermarking, which isn't that bad (still bugs you sometimes, if you're aware of it). Therefore the suggestion about an optional switch off of some sources.

Can you tell me, how bato.to is irregular? Maybe I could generally help out by coding and do some pushes, only if you don't mind.

beepFTW commented 9 years ago

I think for the reason that it is an International source? Like It shows all languages instead of just one. Some just add an option to filter Batoto chapter languages in their settings. This goes without saying that I would LOVE to see Batoto supported, it is definitely my favorite source.

Johndeep commented 9 years ago

Is that so? Well okay then, I though about something like bato.to changes their html structures and requests (like search function) often, so you have to keep up with updates in the server java files.

mitsuketta commented 9 years ago

Gracias e intentaré mantenerte en tanto con los ingleses.

Johndeep commented 9 years ago

I now have an improved KissManga.java, which now works without IP and the search function even works properly now.

For the IP issue, Navegador already provides the necessary methods to POST and bypass cloudflare server properly, just like any browser, only HOST is needed, no IP at all.

For the search function, problem was, if a search term results in only one single result, the app thinks there is no result at all! I made use of the AdvanceSearch, so now it can search properly, even if the term results only in one single entry.

Second issue of search function, if you type more than one word for searching, the result will always be empty. I fixed it by removing the UTF-8 encoding, whose idea was it in the first place to encode the term anyway?

So, how can I contribute this piece of code?

raulhaag commented 9 years ago

when i was coding this kissmanga was using cloudflare whit a browser verificator normally used for "DOS" atacks now cloudflare are workink as a cache and proxy. if you want contribute, i'm happy because every help is usefull when don´t have a lot of time and realy like other people enjoy my app.

raulhaag commented 9 years ago

just realized i dont pull the last update :-P i don't remenmber why

Johndeep commented 9 years ago

Yeah, in short, I just set a valid User-Agent header, so cloudflare let you stay. I want to contribute, but I don't quite see how.. maybe I try the fork thingy of github, since it's my first time using github. And I want to contribute fast, because like I said, I want to continue to read my mangas ;)

Johndeep commented 9 years ago

I see, so mangapanda and mangareader is almost exactly the same in structure, I can remove StarKana and add mangareader.net instead, stay put!

I will release a pull request, after I made my improvements.