This commit is contained in:
Schnitzel5 2024-12-21 21:16:05 +01:00
parent cbdb59f795
commit b69c5dfa5f
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 = [
{
name: "Novel Updates",
lang: "en",
baseUrl: "https://www.novelupdates.com",
apiUrl: "",
iconUrl:
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/en.novelupdates.png",
typeSource: "single",
itemType: 2,
version: "0.0.1",
dateFormat: "",
dateFormatLocale: "",
pkgPath: "novel/src/en/novelupdates.js",
appMinVerReq: "0.3.75",
isNsfw: false,
hasCloudflare: true,
},
];
const mangayomiSources = [{
"name": "Novel Updates",
"lang": "en",
"baseUrl": "https://www.novelupdates.com",
"apiUrl": "",
"iconUrl":
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/en.novelupdates.png",
"typeSource": "single",
"itemType": 2,
"version": "0.0.1",
"dateFormat": "",
"dateFormatLocale": "",
"pkgPath": "novel/src/en/novelupdates.js",
"appMinVerReq": "0.4.0",
"isNsfw": false,
"hasCloudflare": true
}];
class DefaultExtension extends MProvider {
headers = {