This commit is contained in:
Schnitzel5
2024-12-21 21:16:05 +01:00
parent d67dc1f6af
commit a447c6eead
4 changed files with 17 additions and 38 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,19 +0,0 @@
import '../../../../model/source.dart';
Source get novelUpdatesSource => _novelUpdatesSource;
const _novelUpdatesVersion = "0.0.1";
const _novelUpdatesSourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/novel/src/en/novelupdates.dart";
Source _novelUpdatesSource = Source(
name: "NovelUpdates",
baseUrl: "https://www.novelupdates.com",
lang: "en",
typeSource: "single",
iconUrl:
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/en/icon.png",
sourceCodeUrl: _novelUpdatesSourceCodeUrl,
itemType: ItemType.novel,
version: _novelUpdatesVersion,
dateFormat: "MMM dd,yyyy",
dateFormatLocale: "en",
);

View File

@@ -1,22 +1,20 @@
const mangayomiSources = [ const mangayomiSources = [{
{ "name": "Novel Updates",
name: "Novel Updates", "lang": "en",
lang: "en", "baseUrl": "https://www.novelupdates.com",
baseUrl: "https://www.novelupdates.com", "apiUrl": "",
apiUrl: "", "iconUrl":
iconUrl: "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/en.novelupdates.png",
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/en.novelupdates.png", "typeSource": "single",
typeSource: "single", "itemType": 2,
itemType: 2, "version": "0.0.1",
version: "0.0.1", "dateFormat": "",
dateFormat: "", "dateFormatLocale": "",
dateFormatLocale: "", "pkgPath": "novel/src/en/novelupdates.js",
pkgPath: "novel/src/en/novelupdates.js", "appMinVerReq": "0.4.0",
appMinVerReq: "0.3.75", "isNsfw": false,
isNsfw: false, "hasCloudflare": true
hasCloudflare: true, }];
},
];
class DefaultExtension extends MProvider { class DefaultExtension extends MProvider {
headers = { headers = {