mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-15 03:10:59 +00:00
fix: Refresh contain issue
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user