Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bato.to broken #48

Open
Yoposoc opened this issue Oct 23, 2015 · 24 comments
Open

bato.to broken #48

Yoposoc opened this issue Oct 23, 2015 · 24 comments

Comments

@Yoposoc
Copy link

Yoposoc commented Oct 23, 2015

bato.to just changed their url patterns.

@hendrasz
Copy link

Yup, not working right now since they changed the manga's page url.

@TKW25
Copy link

TKW25 commented Oct 26, 2015

Don't think it has anything to do with the url, they changed the reader's code entirely.

@Lunarhawk
Copy link

Use batoto daily, hope someone figures out a fix soon

@munael
Copy link

munael commented Nov 6, 2015

Yeah. Can someone knowledgeable try updating bato.to's rules entry in webcomic reader? I feel it could be made to work without changing any plugin-wide code.

@Tmp341
Copy link

Tmp341 commented Nov 6, 2015

I think batoto changed to user only mode, because manga downloaders started to use batoto username and password.

@Lunarhawk
Copy link

Yeah you have to be logged in now to view stuff, dunno if that affects it at all tho to my understanding they basically redid the whole reader

@munael
Copy link

munael commented Nov 7, 2015

WCR, IIUC, does all its stuff client-side. The switch to user-mode-only shouldn't affect it at all, only the changes to the reader.

@anka-213
Copy link

anka-213 commented Nov 7, 2015

It seems like the problem is that bato.to is using ajax to fetch the content, so the image is not there yet when webcomic_reader tries to find it. I'll see if i can find a workaround.

@hendrasz
Copy link

hendrasz commented Nov 8, 2015

Manga OnlineViewer's script works on batoto, but reading manga in one page is not really my preference. Maybe you can use their code as example for fetching the page.

@anka-213
Copy link

anka-213 commented Nov 8, 2015

That script works in a different way internally*, so I don't think I can use that.

By the way, what feature(s) from this script do you need/want for bato.to? Their new built in reader seems pretty competent.

*: It fetches all pages at the same time and grabs the list from the menu, instead of grabbing the link to the next page and going one page at a time. It also have delays everywhere to compensate for ajax, but that makes stuff slower (obviously).

@shogunreaper
Copy link

jdownloader seems to be able to grab all the files, maybe look at their code?

@munael
Copy link

munael commented Nov 8, 2015

Right now I miss the minimalist mode the most. Also the ability to quickly page forward and backward by clicking on the image (bato.to ATM only goes forward; although it's now much faster than its older load-on-click behavior).

anka-213 referenced this issue in anka-213/webcomic_reader Nov 8, 2015
Should fix bug #48.

Lots of stuff needed to change because of the combination of using AJAX and hashes in the url. The script normally strips "#"-es from the url, which would make it forget which page it is on.

Also update egscans.org -> egscans.com
@anka-213
Copy link

anka-213 commented Nov 8, 2015

I have an attempt at a solution now. You can try it at https://github.com/anka-213/webcomic_reader/raw/master/webcomic_reader.user.js.

It is kind of experimental, so please tell me if it breaks something.

@hendrasz
Copy link

hendrasz commented Nov 9, 2015

so far it works fine for me

@Tmp341
Copy link

Tmp341 commented Nov 9, 2015

@anka-213 So, no username and password required for your solution?

@anka-213
Copy link

anka-213 commented Nov 9, 2015

@Tmp341 Nope, no login required. I'm not sure what the difference is if you are logged in, but I didn't notice any restrictions.

@shogunreaper
Copy link

@anka-213

well you need to be logged in to see the links to the older chapters, only ones from the last 2 weeks or so show up to people not logged in.

though it's not like the links change so if you know them anyone can view it.

@anka-213
Copy link

anka-213 commented Nov 9, 2015

@shogunreaper As long as you have a link to one chapter, you can follow the links (or quick chapter navigation) back to the beginning, it seems. But if you don't find any chapter, it seems hard to read anything at all.

@Lunarhawk
Copy link

Looks to be working fine here, thanks for the fix.

@tenkuu
Copy link

tenkuu commented Nov 26, 2015

The script stops working if I navigate to another page or chapter via the navigation bar.
i.e. the .moderation_bar

@anka-213
Copy link

@tenkuu Yes. Or more specifically, it doesn't actually navigate to the new page, it just updates the url. This is a known issue. A workaround is to press enter in the url bar after using the navigation bar.

anka-213 referenced this issue in anka-213/webcomic_reader Nov 29, 2015
Related to issue #48
@munael
Copy link

munael commented Jan 2, 2016

Latest script version, running on latest Chrome version (as of this post) (without Tampermonkey), is completely broken with bato.to.

Minimalistic mode doesn't work unless I open the settings window and 'save' again with 'minimalistic' option set. This makes it look like the mode is turned on but in fact you can't advance pages in either direction (both ways the counter is '0...').

Sometimes the url just changes to 'bato.to/reader' and nothing shows.

In normal mode none of the controls actually do anything. The configuration buttons for webcomic-reader show at the bottom of the page but only "Webcomic Reader - Settings" and "Webcomic Reader - Disable for this site" show up. No bookmarks button or a chap/page selector at the bottom, etc.

@anka-213
Copy link

@Enamex Just to be clear, amiboide's latest version or mine?

@munael
Copy link

munael commented Jan 13, 2016

@anka-213 Well, that was confusing haha. I only tried the repo's posted script (updated '10 months ago') so amiboide's, I guess.

Trying yours now (" https://github.com/anka-213/webcomic_reader/raw/master/webcomic_reader.user.js ").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants