Repos / pytaku / 41d8d1387d
commit 41d8d1387dc4b4c4409e598ec6c5253560ce25b9
Author: Nhân <hi@imnhan.com>
Date: Sun Feb 12 21:33:36 2023 +0700
mangadex breaking update: /manga/ --> /title/
diff --git a/src/mangoapi/mangadex.py b/src/mangoapi/mangadex.py
index 876b5c1..f765078 100644
--- a/src/mangoapi/mangadex.py
+++ b/src/mangoapi/mangadex.py
@@ -173,7 +173,7 @@ def title_thumbnail(self, title_id, cover_ext):
return f"https://uploads.mangadex.org/covers/{title_id}/{cover_ext}.256.jpg"
def title_source_url(self, title_id):
- return f"https://mangadex.org/manga/{title_id}"
+ return f"https://mangadex.org/title/{title_id}"
# Titles regex slightly adapted from https://github.com/md-y/mangadex-full-api