fix: Refresh contain issue

This commit is contained in:
Swakshan
2025-05-20 16:17:41 +05:30
parent efb20de6e3
commit 4d1cee56ac
10 changed files with 2379 additions and 2087 deletions

View File

@@ -5,7 +5,7 @@ const mangayomiSources = [{
"apiUrl": "",
"iconUrl": "https://www.google.com/s2/favicons?sz=128&domain=https://sudatchi.com",
"typeSource": "single",
"version": "1.1.0",
"version": "1.1.1",
"dateFormat": "",
"dateFormatLocale": "",
"itemType": 1,
@@ -148,8 +148,11 @@ class DefaultExtension extends MProvider {
async getDetail(url) {
var linkSlug = "https://sudatchi.com/anime/"
if (url.includes(linkSlug)) url = url.replace(linkSlug, "");
var lang = this.getPreference("sudatchi_pref_lang")
var link = `https://sudatchi.com/anime/${url}`
var link = `${linkSlug}${url}`
var details = await this.requestApi(`/anime/${url}`);
var titles = details.title
var name = titles.romaji