xgi / houdoku

Manga reader and library manager for the desktop
https://houdoku.org
MIT License
744 stars 39 forks source link

Manga aggregate site's using multiple urls houdoku not updating pathing when url's go down #323

Closed merlinmarijn closed 8 months ago

merlinmarijn commented 8 months ago

Acknowledgements

Houdoku version

v2.13.1

Operating system

Windows 10

Steps to reproduce

  1. add series from mangakakalot/any other aggregate site that send the user to different URL's
  2. The 2nd domain shuts down/goes offline
  3. Series don't update and console spews errors

Expected behavior

When the site shuts down a url that the software tries to re-import the series if it still exists on the site, updating the pathing to the new URL the aggregate site uses while it maintains progress

Reload series -> check if site is online if offline -> go to original aggregate site pull data(url) from series check if -> (series url == old_url) (this also makes so that it doesnt overwrite a series if the site is just down for a moment) if not -> (update old_url to new_url) if its the same chapter structure paste it over if not open new modal which tells you what progress you were on the old_series open new series page, select where you were update new list repeat for each manga this happened.

Actual behavior

no fallback system for when a url goes down, leaving series in a permanent frozen state, never updating.

Log files

No response

Additional information (optional)

i found this happened to me recently while using mangakakalot with series that we're linking to "https://readmanganato.com". this page was fully offline now only showing some text "index" the serie was now being directed to the url "https://chapmanganato.to" but houdoku never knew this and kept trying to read the series data from "https://readmanganato.com" for over 122 series.