manga-download / hakuneko

Manga & Anime Downloader for Linux, Windows & MacOS
https://hakuneko.download
The Unlicense
4.63k stars 461 forks source link

[MANGA PLUS Shueisha] Connector not working #7110

Open pjft opened 4 months ago

pjft commented 4 months ago

Is there an existing issue for this connector?

Did you read the troubleshooting guide ?

Is the website of the connector working properly ?

Make sure to try Nightly Build

What kind of issue are you encountering

Manga list isn't refreshing

Describe the bug

Refreshing the manga list we get the following errors:

Invalid wire type 4 at offset 1

And in the console we get:

Connector.mjs:548 GET https://jumpg-webapi.tokyo-cdn.com/api/title_list/all 404
fetchPROTO @ Connector.mjs:548
async function (async)
fetchPROTO @ Connector.mjs:547
_getMangas @ ShueishaMangaPlus.mjs:37
_getMangaList @ Connector.mjs:576
(anonymous) @ Connector.mjs:99
Promise.then (async)
updateMangas @ Connector.mjs:98
onUpdateMangaListClick @ mangas.html:233
handler @ template-stamp.html:96

Connector.mjs:579 Error: invalid wire type 4 at offset 1
    at o.skipType (protobufjs.min.js:7)
    at m.Response$decode [as decode] (eval at h (protobufjs.min.js:7), <anonymous>:17:5)
    at m.decode (protobufjs.min.js:7)
    at ShueishaMangaPlus.fetchPROTO (Connector.mjs:550)
    at async ShueishaMangaPlus._getMangas (ShueishaMangaPlus.mjs:37)
    at async ShueishaMangaPlus._getMangaList (Connector.mjs:576) ShueishaMangaPlus {id: "shueishamangaplus", label: "MANGA Plus by Shueisha", tags: Array(4), isLocked: false, initialized: true, …}apiURL: "https://jumpg-webapi.tokyo-cdn.com/"config: {scrapeDelay: {…}}existingManga: [Black Clover: true, Blue Lock: true, Demon Slayer: Kimetsu no Yaiba: true, Golgo 13 (Viz Media Version): true, Lone Wolf & Cub: true, …]existingMangas: []id: "shueishamangaplus"initialized: trueisLocked: falseisUpdating: falselabel: "MANGA Plus by Shueisha"mangaCache: undefinedprotoTypes: "/mjs/connectors/ShueishaMangaPlus.proto"requestOptions: {method: "GET", mode: "cors", redirect: "follow", credentials: "same-origin", headers: Headers}rootType: "MangaPlus.Response"tags: (4) ["manga", "high-quality", "english", "spanish"]url: "https://mangaplus.shueisha.co.jp/"icon: (...)__proto__: Publus
_getMangaList @ Connector.mjs:579
async function (async)
_getMangaList @ Connector.mjs:576
(anonymous) @ Connector.mjs:99
Promise.then (async)
updateMangas @ Connector.mjs:98
onUpdateMangaListClick @ mangas.html:233
handler @ template-stamp.html:96

Version: master@54fbc6, Nightly build. Also happened in stable.

To Reproduce

Refresh MANGA PLUS Shueisha Connector.

Invalid wire type 4 at offset 1

And in the console we get:

Connector.mjs:548 GET https://jumpg-webapi.tokyo-cdn.com/api/title_list/all 404
fetchPROTO @ Connector.mjs:548
async function (async)
fetchPROTO @ Connector.mjs:547
_getMangas @ ShueishaMangaPlus.mjs:37
_getMangaList @ Connector.mjs:576
(anonymous) @ Connector.mjs:99
Promise.then (async)
updateMangas @ Connector.mjs:98
onUpdateMangaListClick @ mangas.html:233
handler @ template-stamp.html:96

Connector.mjs:579 Error: invalid wire type 4 at offset 1
    at o.skipType (protobufjs.min.js:7)
    at m.Response$decode [as decode] (eval at h (protobufjs.min.js:7), <anonymous>:17:5)
    at m.decode (protobufjs.min.js:7)
    at ShueishaMangaPlus.fetchPROTO (Connector.mjs:550)
    at async ShueishaMangaPlus._getMangas (ShueishaMangaPlus.mjs:37)
    at async ShueishaMangaPlus._getMangaList (Connector.mjs:576) ShueishaMangaPlus {id: "shueishamangaplus", label: "MANGA Plus by Shueisha", tags: Array(4), isLocked: false, initialized: true, …}apiURL: "https://jumpg-webapi.tokyo-cdn.com/"config: {scrapeDelay: {…}}existingManga: [Black Clover: true, Blue Lock: true, Demon Slayer: Kimetsu no Yaiba: true, Golgo 13 (Viz Media Version): true, Lone Wolf & Cub: true, …]existingMangas: []id: "shueishamangaplus"initialized: trueisLocked: falseisUpdating: falselabel: "MANGA Plus by Shueisha"mangaCache: undefinedprotoTypes: "/mjs/connectors/ShueishaMangaPlus.proto"requestOptions: {method: "GET", mode: "cors", redirect: "follow", credentials: "same-origin", headers: Headers}rootType: "MangaPlus.Response"tags: (4) ["manga", "high-quality", "english", "spanish"]url: "https://mangaplus.shueisha.co.jp/"icon: (...)__proto__: Publus
_getMangaList @ Connector.mjs:579
async function (async)
_getMangaList @ Connector.mjs:576
(anonymous) @ Connector.mjs:99
Promise.then (async)
updateMangas @ Connector.mjs:98
onUpdateMangaListClick @ mangas.html:233
handler @ template-stamp.html:96

Version: master@54fbc6, Nightly build. Also happened in stable.

MikeZeDev commented 4 months ago

1) Applied api changes already present in haruneko 2) There was a problem in chapters listing, fixed in Haruneko and Hakuneko now

pjft commented 4 months ago

Thank you for the prompt response!

Just so I can best help, when do these make it into the nightly build for me to test?

Regards.

MikeZeDev commented 4 months ago

When its merged, after someone else from the team review it.

pjft commented 4 months ago

Thanks!

newnew1450 commented 3 months ago

This issue happened to me again for the last few days, for MANGA PLUS Shueisha as well. rev. 6.1.7 @d81c39 Error "Invalid wire type 4 at offset 1". Should I create a new issue?

panchenko9b commented 3 months ago

please, update Mangaplus It hasn't been working for two weeks now. Soon 3 weeks will pass and the chapters will disappear!!!

remonbwae commented 3 months ago

The Issue is the same: "Invalid wire type 4 at offset 1" please update Mangaplus

ronny1982 commented 3 months ago

This issue happened to me again for the last few days, for MANGA PLUS Shueisha as well. rev. 6.1.7 @d81c39 Error "Invalid wire type 4 at offset 1". Should I create a new issue?

This Issue is still OPEN, so there is no benefit in creating a duplicate one which will be closed as duplicate

ronny1982 commented 3 months ago

please, update Mangaplus It hasn't been working for two weeks now. Soon 3 weeks will pass and the chapters will disappear!!!

If it is that urgent for you, use HaruNeko

ronny1982 commented 3 months ago

The Issue is the same: "Invalid wire type 4 at offset 1" please update Mangaplus

Yes, as long as this ticket is OPEN, it has not been fixed... no need to bump