manga-download / haruneko

Prototype of HakuNeko based on NW.js + TypeScript
https://haruneko-docs.pages.dev
147 stars 31 forks source link

AsuraScans : support dynamic urls #696

Closed MikeZeDev closed 3 months ago

MikeZeDev commented 3 months ago

All asura mangas have dynamic suffixes :

i.e https://asuracomic.net/series/logging-10000-years-into-the-future-a6c802df Trying to fetch https://asuracomic.net/series/logging-10000-years-into-the-future- redirect automatically to the suffixed page.

We are just stripping the dynamic part of the url and rely on website redirection.

For chapters, using directly anchors pathnames would miss the "/series/" in path as links are relatives.

image