Repos / pytaku / 34d294b883
commit 34d294b8836d39198eccde34d0bd183fce5a42b2
Author: Nhân <hi@imnhan.com>
Date:   Sun Jul 24 14:52:38 2022 +0700

    mangasee switched their cover domain again

diff --git a/src/mangoapi/mangasee.py b/src/mangoapi/mangasee.py
index 7874ef8..04495ca 100644
--- a/src/mangoapi/mangasee.py
+++ b/src/mangoapi/mangasee.py
@@ -123,7 +123,7 @@ def search_title(self, query):
                 "id": row[0],
                 "name": row[1],
                 "site": "mangasee",
-                "thumbnail": f"https://cover.nep.li/cover/{row[0]}.jpg",
+                "thumbnail": f"https://temp.compsci88.com/cover/{row[0]}.jpg",
             }
             for row in self.search_table.search(query)
         ]
@@ -132,7 +132,7 @@ def title_cover(self, title_id, cover_ext):
         return self.title_thumbnail(title_id, cover_ext)
 
     def title_thumbnail(self, title_id, cover_ext):
-        return f"https://cover.nep.li/cover/{title_id}.jpg"
+        return f"https://temp.compsci88.com/cover/{title_id}.jpg"
 
     def title_source_url(self, title_id):
         return f"https://mangasee123.com/manga/{title_id}"
diff --git a/tests/mangoapi/test_mangasee.py b/tests/mangoapi/test_mangasee.py
index 914a2b6..d5d8e6a 100644
--- a/tests/mangoapi/test_mangasee.py
+++ b/tests/mangoapi/test_mangasee.py
@@ -65,6 +65,6 @@ def set(self, key, val):
             "id": "Sayonara-Football",
             "name": "Sayonara, Football",
             "site": "mangasee",
-            "thumbnail": "https://cover.nep.li/cover/Sayonara-Football.jpg",
+            "thumbnail": "https://temp.compsci88.com/cover/Sayonara-Football.jpg",
         }
     ]