Multisrc: madara (#916)
* added azora * fix: fetchApi console * added translatinotaku * added dragontea * added novelbookid * added meownovel * added olaoe, galaxytranslations, wordexcerpt * added citrusaurora * fix: duplicated
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 870 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
@@ -58,8 +58,7 @@ const makeInit = async (init?: FetchInit) => {
|
|||||||
*/
|
*/
|
||||||
export async function fetchApi(url: string, init?: FetchInit) {
|
export async function fetchApi(url: string, init?: FetchInit) {
|
||||||
init = await makeInit(init);
|
init = await makeInit(init);
|
||||||
console.log(init.headers);
|
console.log(url, init);
|
||||||
// console.log(url, init);
|
|
||||||
return await fetch(url, init as RequestInit);
|
return await fetch(url, init as RequestInit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -368,5 +368,85 @@
|
|||||||
"useNewChapterEndpoint": true,
|
"useNewChapterEndpoint": true,
|
||||||
"lang": "Thai"
|
"lang": "Thai"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "azora",
|
||||||
|
"sourceSite": "https://azorago.com/",
|
||||||
|
"sourceName": "Azora",
|
||||||
|
"options": {
|
||||||
|
"useNewChapterEndpoint": true,
|
||||||
|
"lang": "Arabic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "translatinotaku",
|
||||||
|
"sourceSite": "https://translatinotaku.net/",
|
||||||
|
"sourceName": "Translation Otaku",
|
||||||
|
"options": {
|
||||||
|
"useNewChapterEndpoint": true,
|
||||||
|
"lang": "English"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "dragontea",
|
||||||
|
"sourceSite": "https://dragontea.ink/",
|
||||||
|
"sourceName": "Dragon Tea",
|
||||||
|
"options": {
|
||||||
|
"useNewChapterEndpoint": true,
|
||||||
|
"lang": "English"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "novelbookid",
|
||||||
|
"sourceSite": "https://www.novelbook.id/",
|
||||||
|
"sourceName": "NovelBookID",
|
||||||
|
"options": {
|
||||||
|
"useNewChapterEndpoint": true,
|
||||||
|
"lang": "Indonesian"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "meownovel",
|
||||||
|
"sourceSite": "https://meownovel.com/",
|
||||||
|
"sourceName": "Meownovel",
|
||||||
|
"options": {
|
||||||
|
"useNewChapterEndpoint": true,
|
||||||
|
"lang": "English"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "galaxytranslations",
|
||||||
|
"sourceSite": "https://galaxytranslations97.com/",
|
||||||
|
"sourceName": "Galaxy Translations",
|
||||||
|
"options": {
|
||||||
|
"useNewChapterEndpoint": true,
|
||||||
|
"lang": "English"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "olaoe",
|
||||||
|
"sourceSite": "https://olaoe.cyou/",
|
||||||
|
"sourceName": "Olaoe.cyou",
|
||||||
|
"options": {
|
||||||
|
"useNewChapterEndpoint": true,
|
||||||
|
"lang": "Arabic"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "wordexcerpt",
|
||||||
|
"sourceSite": "https://wordexcerpt.com/",
|
||||||
|
"sourceName": "WordExcerpt",
|
||||||
|
"options": {
|
||||||
|
"lang": "English"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "citrusaurora",
|
||||||
|
"sourceSite": "https://citrusaurora.com/",
|
||||||
|
"sourceName": "Citrus Aurora",
|
||||||
|
"options": {
|
||||||
|
"useNewChapterEndpoint": true,
|
||||||
|
"lang": "English"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||