add novel support

This commit is contained in:
Schnitzel5
2024-11-25 22:51:11 +01:00
parent 8e2b190fd0
commit d9a66b7651
57 changed files with 103 additions and 50 deletions

View File

@@ -7,7 +7,7 @@ Source _frenchanimeSource = Source(
baseUrl: "https://french-anime.com",
lang: "fr",
typeSource: "datalifeengine",
isManga: false,
itemType: ItemType.anime,
iconUrl:
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/datalifeengine/src/frenchanime/icon.png",
);

View File

@@ -7,7 +7,7 @@ Source _wiflixSource = Source(
baseUrl: "https://wiflix.bot",
lang: "fr",
typeSource: "datalifeengine",
isManga: false,
itemType: ItemType.anime,
iconUrl:
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/datalifeengine/src/wiflix/icon.png",
);

View File

@@ -7,7 +7,7 @@ Source _dopeboxSource = Source(
baseUrl: "https://dopebox.to",
lang: "en",
typeSource: "dopeflix",
isManga: false,
itemType: ItemType.anime,
iconUrl:
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/dopeflix/src/dopebox/icon.png",
);

View File

@@ -7,7 +7,7 @@ Source _sflixSource = Source(
baseUrl: "https://sflix.to",
lang: "en",
typeSource: "dopeflix",
isManga: false,
itemType: ItemType.anime,
iconUrl:
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/dopeflix/src/sflix/icon.png",
);

View File

@@ -6,7 +6,7 @@ Source _aniwatchSource = Source(
id: 814067600,
name: "HiAnime",
baseUrl: "https://hianime.to",
isManga: false,
itemType: ItemType.anime,
lang: "en",
typeSource: "zorotheme",
iconUrl:

View File

@@ -6,7 +6,7 @@ Source _kaidoSource = Source(
name: "Kaido.to",
baseUrl: "https://kaido.to",
lang: "en",
isManga: false,
itemType: ItemType.anime,
typeSource: "zorotheme",
iconUrl:
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/zorotheme/src/kaido/icon.png",

View File

@@ -28,6 +28,6 @@ List<Source> _animeworldindiaSourcesList = _languages
typeSource: "multiple",
iconUrl: _iconUrl,
version: _animeworldindiaVersion,
isManga: false,
itemType: ItemType.anime,
sourceCodeUrl: _animeworldindiaSourceCodeUrl))
.toList();

View File

@@ -15,5 +15,5 @@ Source _nyaaSource = Source(
typeSource: "torrent",
iconUrl: _iconUrl,
version: _nyaaVersion,
isManga: false,
itemType: ItemType.anime,
sourceCodeUrl: _nyaaSourceCodeUrl);

View File

@@ -13,4 +13,4 @@ Source _okanimeSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/ar/okanime/icon.png",
sourceCodeUrl: _okanimeSourceCodeUrl,
version: _okanimeVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _animetoast = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/de/animetoast/icon.png",
sourceCodeUrl: _animetoastCodeUrl,
version: _animetoastVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _animepaheSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/animepahe/icon.png",
sourceCodeUrl: _animepaheSourceCodeUrl,
version: _animepaheVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _dramacoolSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/dramacool/icon.png",
sourceCodeUrl: _dramacoolSourceCodeUrl,
version: _dramacoolVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _gogoanimeSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/gogoanime/icon.png",
sourceCodeUrl: _gogoanimeSourceCodeUrl,
version: _gogoanimeVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _kisskhSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/kisskh/icon.png",
sourceCodeUrl: _kisskhSourceCodeUrl,
version: _kisskhVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _nineanimetv = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/nineanimetv/icon.png",
sourceCodeUrl: _nineanimetvCodeUrl,
version: _nineanimetvVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _uhdmoviesSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/uhdmovies/icon.png",
sourceCodeUrl: _uhdmoviesSourceCodeUrl,
version: _uhdmoviesVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _animesama = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/animesama/icon.png",
sourceCodeUrl: animesamaCodeUrl,
version: animesamaVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,5 +13,5 @@ Source _animesultraSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/animesultra/icon.png",
sourceCodeUrl: _animesultraSourceCodeUrl,
version: _animesultraVersion,
isManga: false,
itemType: ItemType.anime,
isFullData: false);

View File

@@ -14,5 +14,5 @@ Source _franimeSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/franime/icon.png",
sourceCodeUrl: _franimeSourceCodeUrl,
version: _franimeVersion,
isManga: false,
itemType: ItemType.anime,
isFullData: true);

View File

@@ -13,5 +13,5 @@ Source _otakufr = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/otakufr/icon.png",
sourceCodeUrl: otakufrCodeUrl,
version: otakufrVersion,
isManga: false,
itemType: ItemType.anime,
isFullData: false);

View File

@@ -13,4 +13,4 @@ Source _yomoviesSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/hi/yomovies/icon.png",
sourceCodeUrl: _yomoviesSourceCodeUrl,
version: _yomoviesVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _nimegami = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/id/nimegami/icon.png",
sourceCodeUrl: _nimegamiCodeUrl,
version: _nimegamiVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _oploverz = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/id/oploverz/icon.png",
sourceCodeUrl: _oploverzCodeUrl,
version: _oploverzVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _otakudesu = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/id/otakudesu/icon.png",
sourceCodeUrl: _otakudesuCodeUrl,
version: _otakudesuVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _animesaturn = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/it/animesaturn/icon.png",
sourceCodeUrl: _animesaturnCodeUrl,
version: _animesaturnVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _animesvision = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/pt/animesvision/icon.png",
sourceCodeUrl: _animesvisionCodeUrl,
version: _animesvisionVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _filma24 = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/sq/filma24/icon.png",
sourceCodeUrl: _filma24CodeUrl,
version: _filma24Version,
isManga: false);
itemType: ItemType.anime);

View File

@@ -13,4 +13,4 @@ Source _diziwatchSource = Source(
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/tr/diziwatch/icon.png",
sourceCodeUrl: _diziwatchSourceCodeUrl,
version: _diziwatchVersion,
isManga: false);
itemType: ItemType.anime);

View File

@@ -571,6 +571,7 @@ List<Source> _madaraSourcesList = [
webtoonhattiSource,
]
.map((e) => e
..itemType = ItemType.manga
..sourceCodeUrl = madaraSourceCodeUrl
..version = madaraVersion)
.toList();

View File

@@ -20,6 +20,7 @@ List<Source> _mangaboxSourcesList = [
manganatoSource
]
.map((e) => e
..itemType = ItemType.manga
..sourceCodeUrl = mangaboxSourceCodeUrl
..version = mangaboxVersion)
.toList();

View File

@@ -292,6 +292,7 @@ List<Source> _mangareaderSourcesList = [
zenithscansSource
]
.map((e) => e
..itemType = ItemType.manga
..sourceCodeUrl = mangareaderSourceCodeUrl
..version = mangareaderVersion)
.toList();

View File

@@ -32,6 +32,7 @@ List<Source> _mmrcmsSourcesList = [
mangafrSource,
]
.map((e) => e
..itemType = ItemType.manga
..sourceCodeUrl = mmrcmsSourceCodeUrl
..version = mmrcmsVersion)
.toList();

View File

@@ -15,6 +15,7 @@ List<Source> _nepnepSourcesList = [
mangalifeSource,
]
.map((e) => e
..itemType = ItemType.manga
..sourceCodeUrl = nepnepSourceCodeUrl
..version = nepnepVersion)
.toList();

View File

@@ -67,5 +67,6 @@ List<Source> _comickSourcesList = _languages
isNsfw: _isNsfw,
dateFormatLocale: "en",
version: _comickVersion,
itemType: ItemType.manga,
sourceCodeUrl: _comickSourceCodeUrl))
.toList();

View File

@@ -70,5 +70,6 @@ List<Source> _mangaDexSourcesList = _languages
isNsfw: _isNsfw,
dateFormatLocale: 'en_Us',
version: _mangadexVersion,
itemType: ItemType.manga,
sourceCodeUrl: _mangadexSourceCodeUrl))
.toList();

View File

@@ -12,6 +12,7 @@ Source _mangahereSource = Source(
iconUrl:
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/en/mangahere/icon.png",
sourceCodeUrl: _mangahereSourceCodeUrl,
itemType: ItemType.manga,
version: _mangahereVersion,
dateFormat: "MMM dd,yyyy",
dateFormatLocale: "en",

View File

@@ -0,0 +1,4 @@
import '../../model/source.dart';
List<Source> dartNovelSourceList = [
];

BIN
dart/novel/src/en/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

View File

@@ -0,0 +1,19 @@
import '../../../../model/source.dart';
Source get novelUpdatesSource => _novelUpdatesSource;
const _novelUpdatesVersion = "0.0.1";
const _novelUpdatesSourceCodeUrl =
"https://raw.githubusercontent.com/Schnitzel5/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/Schnitzel5/mangayomi-extensions/$branchName/dart/manga/src/en/icon.png",
sourceCodeUrl: _novelUpdatesSourceCodeUrl,
itemType: ItemType.novel,
version: _novelUpdatesVersion,
dateFormat: "MMM dd,yyyy",
dateFormatLocale: "en",
);