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

Viz for manga #34

Closed
theKAKAN opened this issue Mar 11, 2019 · 2 comments
Closed

Viz for manga #34

theKAKAN opened this issue Mar 11, 2019 · 2 comments

Comments

@theKAKAN
Copy link

https://www.viz.com
It has Shonen Jump manga as well as other mangas and I personally quite like the website. It's free for the latest chapters as well( without creating an account ).
I'll read the source code when I get some free time and try to implement it myself, in case no one works on it 😄
Example of Manga: https://www.viz.com/shonenjump/chapters/black-clover

@TSedlar
Copy link
Owner

TSedlar commented Mar 11, 2019

I'll debug and publish soon, I've looked at the page and got the data I need.

"viz": {
  "type": "manga",
  "urls": [
    "*://*.viz.com/*/*/*/*"
  ],
  "base_url": "(.*\/.*\/[0-9]+).*?",
  "title": "h3[class*=section_title]:visible a",
  "episode": "h3[class*=section_title]:visible span",
  "page": {
    "pattern": "div[class='page_slider_label center']",
    "processor": "([0-9]+)",
    "groups": [1]
  },
  "page_count": {
    "pattern": "div[class='page_slider_label left']",
    "processor": "([0-9]+)",
    "groups": [1]
  }
}

@TSedlar
Copy link
Owner

TSedlar commented Mar 11, 2019

This has been added in 6e6d46a, and is already live on firefox. It will be live on the chrome store in likely less than an hour.

Enjoy, let me know if any bugs are apparent.

In case you don't know, it won't update on your Kitsu (MAL API is still down almost a year later.. but you can import your list into Kitsu from MAL, and also export from Kitsu to MAL), until you're half-way through the chapter or 3 minutes has passed.

@TSedlar TSedlar closed this as completed Mar 11, 2019
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

2 participants