mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 02:41:39 +00:00
add novel support
This commit is contained in:
@@ -7,7 +7,7 @@ Source _frenchanimeSource = Source(
|
|||||||
baseUrl: "https://french-anime.com",
|
baseUrl: "https://french-anime.com",
|
||||||
lang: "fr",
|
lang: "fr",
|
||||||
typeSource: "datalifeengine",
|
typeSource: "datalifeengine",
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
iconUrl:
|
iconUrl:
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/datalifeengine/src/frenchanime/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/datalifeengine/src/frenchanime/icon.png",
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Source _wiflixSource = Source(
|
|||||||
baseUrl: "https://wiflix.bot",
|
baseUrl: "https://wiflix.bot",
|
||||||
lang: "fr",
|
lang: "fr",
|
||||||
typeSource: "datalifeengine",
|
typeSource: "datalifeengine",
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
iconUrl:
|
iconUrl:
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/datalifeengine/src/wiflix/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/datalifeengine/src/wiflix/icon.png",
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Source _dopeboxSource = Source(
|
|||||||
baseUrl: "https://dopebox.to",
|
baseUrl: "https://dopebox.to",
|
||||||
lang: "en",
|
lang: "en",
|
||||||
typeSource: "dopeflix",
|
typeSource: "dopeflix",
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
iconUrl:
|
iconUrl:
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/dopeflix/src/dopebox/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/dopeflix/src/dopebox/icon.png",
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Source _sflixSource = Source(
|
|||||||
baseUrl: "https://sflix.to",
|
baseUrl: "https://sflix.to",
|
||||||
lang: "en",
|
lang: "en",
|
||||||
typeSource: "dopeflix",
|
typeSource: "dopeflix",
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
iconUrl:
|
iconUrl:
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/dopeflix/src/sflix/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/dopeflix/src/sflix/icon.png",
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Source _aniwatchSource = Source(
|
|||||||
id: 814067600,
|
id: 814067600,
|
||||||
name: "HiAnime",
|
name: "HiAnime",
|
||||||
baseUrl: "https://hianime.to",
|
baseUrl: "https://hianime.to",
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
lang: "en",
|
lang: "en",
|
||||||
typeSource: "zorotheme",
|
typeSource: "zorotheme",
|
||||||
iconUrl:
|
iconUrl:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Source _kaidoSource = Source(
|
|||||||
name: "Kaido.to",
|
name: "Kaido.to",
|
||||||
baseUrl: "https://kaido.to",
|
baseUrl: "https://kaido.to",
|
||||||
lang: "en",
|
lang: "en",
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
typeSource: "zorotheme",
|
typeSource: "zorotheme",
|
||||||
iconUrl:
|
iconUrl:
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/zorotheme/src/kaido/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/zorotheme/src/kaido/icon.png",
|
||||||
|
|||||||
@@ -28,6 +28,6 @@ List<Source> _animeworldindiaSourcesList = _languages
|
|||||||
typeSource: "multiple",
|
typeSource: "multiple",
|
||||||
iconUrl: _iconUrl,
|
iconUrl: _iconUrl,
|
||||||
version: _animeworldindiaVersion,
|
version: _animeworldindiaVersion,
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
sourceCodeUrl: _animeworldindiaSourceCodeUrl))
|
sourceCodeUrl: _animeworldindiaSourceCodeUrl))
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
@@ -15,5 +15,5 @@ Source _nyaaSource = Source(
|
|||||||
typeSource: "torrent",
|
typeSource: "torrent",
|
||||||
iconUrl: _iconUrl,
|
iconUrl: _iconUrl,
|
||||||
version: _nyaaVersion,
|
version: _nyaaVersion,
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
sourceCodeUrl: _nyaaSourceCodeUrl);
|
sourceCodeUrl: _nyaaSourceCodeUrl);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _okanimeSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/ar/okanime/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/ar/okanime/icon.png",
|
||||||
sourceCodeUrl: _okanimeSourceCodeUrl,
|
sourceCodeUrl: _okanimeSourceCodeUrl,
|
||||||
version: _okanimeVersion,
|
version: _okanimeVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _animetoast = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/de/animetoast/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/de/animetoast/icon.png",
|
||||||
sourceCodeUrl: _animetoastCodeUrl,
|
sourceCodeUrl: _animetoastCodeUrl,
|
||||||
version: _animetoastVersion,
|
version: _animetoastVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _animepaheSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/animepahe/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/animepahe/icon.png",
|
||||||
sourceCodeUrl: _animepaheSourceCodeUrl,
|
sourceCodeUrl: _animepaheSourceCodeUrl,
|
||||||
version: _animepaheVersion,
|
version: _animepaheVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _dramacoolSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/dramacool/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/dramacool/icon.png",
|
||||||
sourceCodeUrl: _dramacoolSourceCodeUrl,
|
sourceCodeUrl: _dramacoolSourceCodeUrl,
|
||||||
version: _dramacoolVersion,
|
version: _dramacoolVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _gogoanimeSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/gogoanime/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/gogoanime/icon.png",
|
||||||
sourceCodeUrl: _gogoanimeSourceCodeUrl,
|
sourceCodeUrl: _gogoanimeSourceCodeUrl,
|
||||||
version: _gogoanimeVersion,
|
version: _gogoanimeVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _kisskhSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/kisskh/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/kisskh/icon.png",
|
||||||
sourceCodeUrl: _kisskhSourceCodeUrl,
|
sourceCodeUrl: _kisskhSourceCodeUrl,
|
||||||
version: _kisskhVersion,
|
version: _kisskhVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _nineanimetv = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/nineanimetv/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/nineanimetv/icon.png",
|
||||||
sourceCodeUrl: _nineanimetvCodeUrl,
|
sourceCodeUrl: _nineanimetvCodeUrl,
|
||||||
version: _nineanimetvVersion,
|
version: _nineanimetvVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _uhdmoviesSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/uhdmovies/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/uhdmovies/icon.png",
|
||||||
sourceCodeUrl: _uhdmoviesSourceCodeUrl,
|
sourceCodeUrl: _uhdmoviesSourceCodeUrl,
|
||||||
version: _uhdmoviesVersion,
|
version: _uhdmoviesVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _animesama = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/animesama/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/animesama/icon.png",
|
||||||
sourceCodeUrl: animesamaCodeUrl,
|
sourceCodeUrl: animesamaCodeUrl,
|
||||||
version: animesamaVersion,
|
version: animesamaVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,5 +13,5 @@ Source _animesultraSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/animesultra/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/animesultra/icon.png",
|
||||||
sourceCodeUrl: _animesultraSourceCodeUrl,
|
sourceCodeUrl: _animesultraSourceCodeUrl,
|
||||||
version: _animesultraVersion,
|
version: _animesultraVersion,
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
isFullData: false);
|
isFullData: false);
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ Source _franimeSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/franime/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/franime/icon.png",
|
||||||
sourceCodeUrl: _franimeSourceCodeUrl,
|
sourceCodeUrl: _franimeSourceCodeUrl,
|
||||||
version: _franimeVersion,
|
version: _franimeVersion,
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
isFullData: true);
|
isFullData: true);
|
||||||
|
|||||||
@@ -13,5 +13,5 @@ Source _otakufr = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/otakufr/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/fr/otakufr/icon.png",
|
||||||
sourceCodeUrl: otakufrCodeUrl,
|
sourceCodeUrl: otakufrCodeUrl,
|
||||||
version: otakufrVersion,
|
version: otakufrVersion,
|
||||||
isManga: false,
|
itemType: ItemType.anime,
|
||||||
isFullData: false);
|
isFullData: false);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _yomoviesSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/hi/yomovies/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/hi/yomovies/icon.png",
|
||||||
sourceCodeUrl: _yomoviesSourceCodeUrl,
|
sourceCodeUrl: _yomoviesSourceCodeUrl,
|
||||||
version: _yomoviesVersion,
|
version: _yomoviesVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _nimegami = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/id/nimegami/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/id/nimegami/icon.png",
|
||||||
sourceCodeUrl: _nimegamiCodeUrl,
|
sourceCodeUrl: _nimegamiCodeUrl,
|
||||||
version: _nimegamiVersion,
|
version: _nimegamiVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _oploverz = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/id/oploverz/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/id/oploverz/icon.png",
|
||||||
sourceCodeUrl: _oploverzCodeUrl,
|
sourceCodeUrl: _oploverzCodeUrl,
|
||||||
version: _oploverzVersion,
|
version: _oploverzVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _otakudesu = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/id/otakudesu/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/id/otakudesu/icon.png",
|
||||||
sourceCodeUrl: _otakudesuCodeUrl,
|
sourceCodeUrl: _otakudesuCodeUrl,
|
||||||
version: _otakudesuVersion,
|
version: _otakudesuVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _animesaturn = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/it/animesaturn/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/it/animesaturn/icon.png",
|
||||||
sourceCodeUrl: _animesaturnCodeUrl,
|
sourceCodeUrl: _animesaturnCodeUrl,
|
||||||
version: _animesaturnVersion,
|
version: _animesaturnVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _animesvision = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/pt/animesvision/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/pt/animesvision/icon.png",
|
||||||
sourceCodeUrl: _animesvisionCodeUrl,
|
sourceCodeUrl: _animesvisionCodeUrl,
|
||||||
version: _animesvisionVersion,
|
version: _animesvisionVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _filma24 = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/sq/filma24/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/sq/filma24/icon.png",
|
||||||
sourceCodeUrl: _filma24CodeUrl,
|
sourceCodeUrl: _filma24CodeUrl,
|
||||||
version: _filma24Version,
|
version: _filma24Version,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ Source _diziwatchSource = Source(
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/tr/diziwatch/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/tr/diziwatch/icon.png",
|
||||||
sourceCodeUrl: _diziwatchSourceCodeUrl,
|
sourceCodeUrl: _diziwatchSourceCodeUrl,
|
||||||
version: _diziwatchVersion,
|
version: _diziwatchVersion,
|
||||||
isManga: false);
|
itemType: ItemType.anime);
|
||||||
|
|||||||
@@ -571,6 +571,7 @@ List<Source> _madaraSourcesList = [
|
|||||||
webtoonhattiSource,
|
webtoonhattiSource,
|
||||||
]
|
]
|
||||||
.map((e) => e
|
.map((e) => e
|
||||||
|
..itemType = ItemType.manga
|
||||||
..sourceCodeUrl = madaraSourceCodeUrl
|
..sourceCodeUrl = madaraSourceCodeUrl
|
||||||
..version = madaraVersion)
|
..version = madaraVersion)
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ List<Source> _mangaboxSourcesList = [
|
|||||||
manganatoSource
|
manganatoSource
|
||||||
]
|
]
|
||||||
.map((e) => e
|
.map((e) => e
|
||||||
|
..itemType = ItemType.manga
|
||||||
..sourceCodeUrl = mangaboxSourceCodeUrl
|
..sourceCodeUrl = mangaboxSourceCodeUrl
|
||||||
..version = mangaboxVersion)
|
..version = mangaboxVersion)
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
@@ -292,6 +292,7 @@ List<Source> _mangareaderSourcesList = [
|
|||||||
zenithscansSource
|
zenithscansSource
|
||||||
]
|
]
|
||||||
.map((e) => e
|
.map((e) => e
|
||||||
|
..itemType = ItemType.manga
|
||||||
..sourceCodeUrl = mangareaderSourceCodeUrl
|
..sourceCodeUrl = mangareaderSourceCodeUrl
|
||||||
..version = mangareaderVersion)
|
..version = mangareaderVersion)
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ List<Source> _mmrcmsSourcesList = [
|
|||||||
mangafrSource,
|
mangafrSource,
|
||||||
]
|
]
|
||||||
.map((e) => e
|
.map((e) => e
|
||||||
|
..itemType = ItemType.manga
|
||||||
..sourceCodeUrl = mmrcmsSourceCodeUrl
|
..sourceCodeUrl = mmrcmsSourceCodeUrl
|
||||||
..version = mmrcmsVersion)
|
..version = mmrcmsVersion)
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ List<Source> _nepnepSourcesList = [
|
|||||||
mangalifeSource,
|
mangalifeSource,
|
||||||
]
|
]
|
||||||
.map((e) => e
|
.map((e) => e
|
||||||
|
..itemType = ItemType.manga
|
||||||
..sourceCodeUrl = nepnepSourceCodeUrl
|
..sourceCodeUrl = nepnepSourceCodeUrl
|
||||||
..version = nepnepVersion)
|
..version = nepnepVersion)
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
@@ -67,5 +67,6 @@ List<Source> _comickSourcesList = _languages
|
|||||||
isNsfw: _isNsfw,
|
isNsfw: _isNsfw,
|
||||||
dateFormatLocale: "en",
|
dateFormatLocale: "en",
|
||||||
version: _comickVersion,
|
version: _comickVersion,
|
||||||
|
itemType: ItemType.manga,
|
||||||
sourceCodeUrl: _comickSourceCodeUrl))
|
sourceCodeUrl: _comickSourceCodeUrl))
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
@@ -70,5 +70,6 @@ List<Source> _mangaDexSourcesList = _languages
|
|||||||
isNsfw: _isNsfw,
|
isNsfw: _isNsfw,
|
||||||
dateFormatLocale: 'en_Us',
|
dateFormatLocale: 'en_Us',
|
||||||
version: _mangadexVersion,
|
version: _mangadexVersion,
|
||||||
|
itemType: ItemType.manga,
|
||||||
sourceCodeUrl: _mangadexSourceCodeUrl))
|
sourceCodeUrl: _mangadexSourceCodeUrl))
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ Source _mangahereSource = Source(
|
|||||||
iconUrl:
|
iconUrl:
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/en/mangahere/icon.png",
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/en/mangahere/icon.png",
|
||||||
sourceCodeUrl: _mangahereSourceCodeUrl,
|
sourceCodeUrl: _mangahereSourceCodeUrl,
|
||||||
|
itemType: ItemType.manga,
|
||||||
version: _mangahereVersion,
|
version: _mangahereVersion,
|
||||||
dateFormat: "MMM dd,yyyy",
|
dateFormat: "MMM dd,yyyy",
|
||||||
dateFormatLocale: "en",
|
dateFormatLocale: "en",
|
||||||
|
|||||||
4
dart/novel/novel_source_list.dart
Normal file
4
dart/novel/novel_source_list.dart
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
import '../../model/source.dart';
|
||||||
|
|
||||||
|
List<Source> dartNovelSourceList = [
|
||||||
|
];
|
||||||
BIN
dart/novel/src/en/icon.png
Normal file
BIN
dart/novel/src/en/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
0
dart/novel/src/en/novelupdates.dart
Normal file
0
dart/novel/src/en/novelupdates.dart
Normal file
19
dart/novel/src/en/source.dart
Normal file
19
dart/novel/src/en/source.dart
Normal 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",
|
||||||
|
);
|
||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/de.aniworld.png",
|
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/de.aniworld.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.15",
|
"version": "0.0.15",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "https://api.allanime.day/api",
|
"apiUrl": "https://api.allanime.day/api",
|
||||||
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/en.allanime.png",
|
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/en.allanime.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.25",
|
"version": "0.0.25",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/es.animeflv.png",
|
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/es.animeflv.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://360zy.com/favicon.ico",
|
"iconUrl": "https://360zy.com/favicon.ico",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "http://ffzy.tv/template/default/img/favicon.png",
|
"iconUrl": "http://ffzy.tv/template/default/img/favicon.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://huaweiba.live/template/ziyuan/images/logo2.png",
|
"iconUrl": "https://huaweiba.live/template/ziyuan/images/logo2.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://www.jisuzy.com/template/default/images/site_logo.png",
|
"iconUrl": "https://www.jisuzy.com/template/default/images/site_logo.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://mikanime.tv/images/mikan-pic.png",
|
"iconUrl": "https://mikanime.tv/images/mikan-pic.png",
|
||||||
"typeSource": "torrent",
|
"typeSource": "torrent",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.15",
|
"version": "0.0.15",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://api.tiankongapi.com/template/v10012/images/logo.jpg",
|
"iconUrl": "https://api.tiankongapi.com/template/v10012/images/logo.jpg",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "http://www.iyinghua.io/js/20180601/favicon.ico",
|
"iconUrl": "http://www.iyinghua.io/js/20180601/favicon.ico",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": false,
|
"itemType": "anime",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.15",
|
"version": "0.0.15",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://www.77mh.nl/favicon.ico",
|
"iconUrl": "https://www.77mh.nl/favicon.ico",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": true,
|
"itemType": "manga",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.25",
|
"version": "0.0.25",
|
||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "https://api.mangacopy.com",
|
"apiUrl": "https://api.mangacopy.com",
|
||||||
"iconUrl": "https://hi77-overseas.mangafuna.xyz/static/free.ico",
|
"iconUrl": "https://hi77-overseas.mangafuna.xyz/static/free.ico",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": true,
|
"itemType": "manga",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.2",
|
"version": "0.0.2",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://www.dmzj.com/_nuxt/logo_dmzj.1c94014a.png",
|
"iconUrl": "https://www.dmzj.com/_nuxt/logo_dmzj.1c94014a.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": true,
|
"itemType": "manga",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.25",
|
"version": "0.0.25",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/zh.manhuadb.png",
|
"iconUrl": "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/javascript/icon/zh.manhuadb.png",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": true,
|
"itemType": "manga",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.25",
|
"version": "0.0.25",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const mangayomiSources = [{
|
|||||||
"apiUrl": "",
|
"apiUrl": "",
|
||||||
"iconUrl": "https://www.manhuagui.com/favicon.ico",
|
"iconUrl": "https://www.manhuagui.com/favicon.ico",
|
||||||
"typeSource": "single",
|
"typeSource": "single",
|
||||||
"isManga": true,
|
"itemType": "manga",
|
||||||
"isNsfw": false,
|
"isNsfw": false,
|
||||||
"version": "0.0.25",
|
"version": "0.0.25",
|
||||||
"dateFormat": "",
|
"dateFormat": "",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class Source {
|
|||||||
|
|
||||||
String? version;
|
String? version;
|
||||||
|
|
||||||
bool? isManga;
|
ItemType? itemType;
|
||||||
|
|
||||||
bool? isFullData;
|
bool? isFullData;
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ class Source {
|
|||||||
this.sourceCodeUrl = "",
|
this.sourceCodeUrl = "",
|
||||||
this.apiUrl = "",
|
this.apiUrl = "",
|
||||||
this.version = "",
|
this.version = "",
|
||||||
this.isManga = true,
|
this.itemType = ItemType.manga,
|
||||||
this.isFullData = false,
|
this.isFullData = false,
|
||||||
this.appMinVerReq = "0.2.0",
|
this.appMinVerReq = "0.2.0",
|
||||||
this.additionalParams = "",
|
this.additionalParams = "",
|
||||||
@@ -68,7 +68,7 @@ class Source {
|
|||||||
: 'mangayomi-js-"${json['lang'] ?? ""}"."${json['name'] ?? ""}"')
|
: 'mangayomi-js-"${json['lang'] ?? ""}"."${json['name'] ?? ""}"')
|
||||||
.hashCode;
|
.hashCode;
|
||||||
isFullData = json['isFullData'] ?? false;
|
isFullData = json['isFullData'] ?? false;
|
||||||
isManga = json['isManga'] ?? false;
|
itemType = json['itemType'] ?? ItemType.manga;
|
||||||
isNsfw = json['isNsfw'] ?? false;
|
isNsfw = json['isNsfw'] ?? false;
|
||||||
lang = json['lang'] ?? "";
|
lang = json['lang'] ?? "";
|
||||||
name = json['name'] ?? "";
|
name = json['name'] ?? "";
|
||||||
@@ -94,7 +94,7 @@ class Source {
|
|||||||
"sourceCodeUrl": sourceCodeUrl,
|
"sourceCodeUrl": sourceCodeUrl,
|
||||||
"apiUrl": apiUrl,
|
"apiUrl": apiUrl,
|
||||||
"version": version,
|
"version": version,
|
||||||
"isManga": isManga,
|
"itemType": itemType,
|
||||||
"isFullData": isFullData,
|
"isFullData": isFullData,
|
||||||
"appMinVerReq": appMinVerReq,
|
"appMinVerReq": appMinVerReq,
|
||||||
"additionalParams": additionalParams,
|
"additionalParams": additionalParams,
|
||||||
@@ -104,3 +104,9 @@ class Source {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const branchName = "main";
|
const branchName = "main";
|
||||||
|
|
||||||
|
enum ItemType {
|
||||||
|
manga,
|
||||||
|
anime,
|
||||||
|
novel
|
||||||
|
}
|
||||||
@@ -3,12 +3,14 @@ import 'dart:developer';
|
|||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
import 'dart/anime/anime_source_list.dart';
|
import 'dart/anime/anime_source_list.dart';
|
||||||
import 'dart/manga/manga_source_list.dart';
|
import 'dart/manga/manga_source_list.dart';
|
||||||
|
import 'dart/novel/novel_source_list.dart';
|
||||||
import 'model/source.dart';
|
import 'model/source.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
final jsSources = _searchJsSources(Directory("javascript"));
|
final jsSources = _searchJsSources(Directory("javascript"));
|
||||||
genManga(jsSources.where((element) => element.isManga!).toList());
|
genManga(jsSources.where((element) => element.itemType == "manga").toList());
|
||||||
genAnime(jsSources.where((element) => !element.isManga!).toList());
|
genAnime(jsSources.where((element) => element.itemType == "anime").toList());
|
||||||
|
genNovel(jsSources.where((element) => element.itemType == "novel").toList());
|
||||||
}
|
}
|
||||||
|
|
||||||
void genManga(List<Source> jsMangasourceList) {
|
void genManga(List<Source> jsMangasourceList) {
|
||||||
@@ -39,6 +41,20 @@ void genAnime(List<Source> jsAnimesourceList) {
|
|||||||
log('JSON file created: ${file.path}');
|
log('JSON file created: ${file.path}');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void genNovel(List<Source> jsNovelSourceList) {
|
||||||
|
List<Source> novelSources = [];
|
||||||
|
novelSources.addAll(dartNovelSourceList);
|
||||||
|
novelSources.addAll(jsNovelSourceList);
|
||||||
|
final List<Map<String, dynamic>> jsonList =
|
||||||
|
novelSources.map((source) => source.toJson()).toList();
|
||||||
|
final jsonString = jsonEncode(jsonList);
|
||||||
|
|
||||||
|
final file = File('novel_index.json');
|
||||||
|
file.writeAsStringSync(jsonString);
|
||||||
|
|
||||||
|
log('JSON file created: ${file.path}');
|
||||||
|
}
|
||||||
|
|
||||||
List<Source> _searchJsSources(Directory dir) {
|
List<Source> _searchJsSources(Directory dir) {
|
||||||
List<Source> sourceList = [];
|
List<Source> sourceList = [];
|
||||||
List<FileSystemEntity> entities = dir.listSync();
|
List<FileSystemEntity> entities = dir.listSync();
|
||||||
@@ -60,7 +76,7 @@ List<Source> _searchJsSources(Directory dir) {
|
|||||||
..sourceCodeLanguage = 1
|
..sourceCodeLanguage = 1
|
||||||
..appMinVerReq = defaultSource.appMinVerReq
|
..appMinVerReq = defaultSource.appMinVerReq
|
||||||
..sourceCodeUrl =
|
..sourceCodeUrl =
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/javascript/${e["pkgPath"] ?? e["pkgName"]}")
|
"https://raw.githubusercontent.com/Schnitzel5/mangayomi-extensions/$branchName/javascript/${e["pkgPath"] ?? e["pkgName"]}")
|
||||||
.toList());
|
.toList());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user