Refactor
@@ -1,100 +1,37 @@
|
||||
import '../../../model/source.dart';
|
||||
import '../../../utils/utils.dart';
|
||||
import 'src/scanvf/scanvf.dart';
|
||||
import 'src/komikid/komikid.dart';
|
||||
import 'src/mangaid/mangaid.dart';
|
||||
import 'src/jpmangas/jpmangas.dart';
|
||||
import 'src/onma/onma.dart';
|
||||
import 'src/readcomicsonline/readcomicsonline.dart';
|
||||
import 'src/lelscanvf/lelscanvf.dart';
|
||||
import 'src/mangafr/mangafr.dart';
|
||||
|
||||
const mmrcmsVersion = "0.0.4";
|
||||
const mmrcmsSourceCodeUrl =
|
||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mmrcms/mmrcms-v$mmrcmsVersion.dart";
|
||||
const defaultDateFormat = "d MMM. yyyy";
|
||||
const defaultDateFormatLocale = "en_US";
|
||||
|
||||
List<Source> get mmrcmsSourcesList => _mmrcmsSourcesList;
|
||||
List<Source> _mmrcmsSourcesList = [
|
||||
Source(
|
||||
name: "Scan VF",
|
||||
baseUrl: "https://www.scan-vf.net",
|
||||
lang: "fr",
|
||||
typeSource: "mmrcms",
|
||||
iconUrl: getIconUrl("scanvf", "fr"),
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: mmrcmsVersion,
|
||||
sourceCodeUrl: mmrcmsSourceCodeUrl,
|
||||
),
|
||||
Source(
|
||||
name: "Komikid",
|
||||
baseUrl: "https://www.komikid.com",
|
||||
lang: "id",
|
||||
typeSource: "mmrcms",
|
||||
iconUrl: getIconUrl("komikid", "id"),
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: mmrcmsVersion,
|
||||
sourceCodeUrl: mmrcmsSourceCodeUrl,
|
||||
),
|
||||
Source(
|
||||
name: "MangaID",
|
||||
baseUrl: "https://mangaid.click",
|
||||
lang: "id",
|
||||
typeSource: "mmrcms",
|
||||
iconUrl: getIconUrl("mangaid", "id"),
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: mmrcmsVersion,
|
||||
sourceCodeUrl: mmrcmsSourceCodeUrl,
|
||||
),
|
||||
Source(
|
||||
name: "Jpmangas",
|
||||
baseUrl: "https://jpmangas.cc",
|
||||
lang: "fr",
|
||||
typeSource: "mmrcms",
|
||||
iconUrl: getIconUrl("jpmangas", "fr"),
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: mmrcmsVersion,
|
||||
sourceCodeUrl: mmrcmsSourceCodeUrl,
|
||||
),
|
||||
Source(
|
||||
name: "مانجا اون لاين",
|
||||
baseUrl: "https://onma.top",
|
||||
lang: "ar",
|
||||
typeSource: "mmrcms",
|
||||
iconUrl: getIconUrl("onma", "ar"),
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: mmrcmsVersion,
|
||||
sourceCodeUrl: mmrcmsSourceCodeUrl,
|
||||
),
|
||||
Source(
|
||||
name: "Read Comics Online",
|
||||
baseUrl: "https://readcomicsonline.ru",
|
||||
lang: "en",
|
||||
typeSource: "mmrcms",
|
||||
iconUrl: getIconUrl("readcomicsonline", "en"),
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: mmrcmsVersion,
|
||||
sourceCodeUrl: mmrcmsSourceCodeUrl,
|
||||
),
|
||||
Source(
|
||||
name: "Lelscan-VF",
|
||||
baseUrl: "https://www.lelscanvf.cc/",
|
||||
lang: "fr",
|
||||
typeSource: "mmrcms",
|
||||
iconUrl: getIconUrl("lelscanvf", "fr"),
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: mmrcmsVersion,
|
||||
sourceCodeUrl: mmrcmsSourceCodeUrl,
|
||||
),
|
||||
Source(
|
||||
name: "Manga-FR",
|
||||
baseUrl: "https://manga-fr.me",
|
||||
lang: "fr",
|
||||
typeSource: "mmrcms",
|
||||
iconUrl: getIconUrl("mangafr", "fr"),
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: mmrcmsVersion,
|
||||
sourceCodeUrl: mmrcmsSourceCodeUrl,
|
||||
),
|
||||
];
|
||||
//Scan VF (FR)
|
||||
scanvfSource,
|
||||
//Komikid (ID)
|
||||
komikidSource,
|
||||
//MangaID (ID)
|
||||
mangaidSource,
|
||||
//Jpmangas (FR)
|
||||
jpmangasSource,
|
||||
//مانجا اون لاين (AR)
|
||||
onmaSource,
|
||||
//Read Comics Online (EN)
|
||||
readcomicsonlineSource,
|
||||
//Lelscan-VF (FR)
|
||||
lelscanvfSource,
|
||||
//Manga-FR (FR)
|
||||
mangafrSource,
|
||||
]
|
||||
.map((e) => e
|
||||
..sourceCodeUrl = mmrcmsSourceCodeUrl
|
||||
..version = mmrcmsVersion)
|
||||
.toList();
|
||||
|
||||
BIN
manga/multisrc/mmrcms/src/jpmangas/icon.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
14
manga/multisrc/mmrcms/src/jpmangas/jpmangas.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import '../../../../../model/source.dart';
|
||||
|
||||
Source get jpmangasSource => _jpmangasSource;
|
||||
|
||||
Source _jpmangasSource = Source(
|
||||
name: "Jpmangas",
|
||||
baseUrl: "https://jpmangas.cc",
|
||||
lang: "fr",
|
||||
isNsfw:true,
|
||||
typeSource: "mmrcms",
|
||||
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mmrcms/src/jpmangas/icon.png",
|
||||
dateFormat:"d MMM. yyyy",
|
||||
dateFormatLocale:"en_us",
|
||||
);
|
||||
BIN
manga/multisrc/mmrcms/src/komikid/icon.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
14
manga/multisrc/mmrcms/src/komikid/komikid.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import '../../../../../model/source.dart';
|
||||
|
||||
Source get komikidSource => _komikidSource;
|
||||
|
||||
Source _komikidSource = Source(
|
||||
name: "Komikid",
|
||||
baseUrl: "https://www.komikid.com",
|
||||
lang: "id",
|
||||
isNsfw:true,
|
||||
typeSource: "mmrcms",
|
||||
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mmrcms/src/komikid/icon.png",
|
||||
dateFormat:"d MMM. yyyy",
|
||||
dateFormatLocale:"en_us",
|
||||
);
|
||||
BIN
manga/multisrc/mmrcms/src/lelscanvf/icon.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
14
manga/multisrc/mmrcms/src/lelscanvf/lelscanvf.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import '../../../../../model/source.dart';
|
||||
|
||||
Source get lelscanvfSource => _lelscanvfSource;
|
||||
|
||||
Source _lelscanvfSource = Source(
|
||||
name: "Lelscan-VF",
|
||||
baseUrl: "https://www.lelscanvf.cc/",
|
||||
lang: "fr",
|
||||
isNsfw:true,
|
||||
typeSource: "mmrcms",
|
||||
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mmrcms/src/lelscanvf/icon.png",
|
||||
dateFormat:"d MMM. yyyy",
|
||||
dateFormatLocale:"en_us",
|
||||
);
|
||||
BIN
manga/multisrc/mmrcms/src/mangafr/icon.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
14
manga/multisrc/mmrcms/src/mangafr/mangafr.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import '../../../../../model/source.dart';
|
||||
|
||||
Source get mangafrSource => _mangafrSource;
|
||||
|
||||
Source _mangafrSource = Source(
|
||||
name: "Manga-FR",
|
||||
baseUrl: "https://manga-fr.me",
|
||||
lang: "fr",
|
||||
isNsfw:true,
|
||||
typeSource: "mmrcms",
|
||||
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mmrcms/src/mangafr/icon.png",
|
||||
dateFormat:"d MMM. yyyy",
|
||||
dateFormatLocale:"en_us",
|
||||
);
|
||||
BIN
manga/multisrc/mmrcms/src/mangaid/icon.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
14
manga/multisrc/mmrcms/src/mangaid/mangaid.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import '../../../../../model/source.dart';
|
||||
|
||||
Source get mangaidSource => _mangaidSource;
|
||||
|
||||
Source _mangaidSource = Source(
|
||||
name: "MangaID",
|
||||
baseUrl: "https://mangaid.click",
|
||||
lang: "id",
|
||||
isNsfw:true,
|
||||
typeSource: "mmrcms",
|
||||
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mmrcms/src/mangaid/icon.png",
|
||||
dateFormat:"d MMM. yyyy",
|
||||
dateFormatLocale:"en_us",
|
||||
);
|
||||
BIN
manga/multisrc/mmrcms/src/onma/icon.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
14
manga/multisrc/mmrcms/src/onma/onma.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import '../../../../../model/source.dart';
|
||||
|
||||
Source get onmaSource => _onmaSource;
|
||||
|
||||
Source _onmaSource = Source(
|
||||
name: "مانجا اون لاين",
|
||||
baseUrl: "https://onma.top",
|
||||
lang: "ar",
|
||||
isNsfw:true,
|
||||
typeSource: "mmrcms",
|
||||
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mmrcms/src/onma/icon.png",
|
||||
dateFormat:"d MMM. yyyy",
|
||||
dateFormatLocale:"en_us",
|
||||
);
|
||||
BIN
manga/multisrc/mmrcms/src/readcomicsonline/icon.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,14 @@
|
||||
import '../../../../../model/source.dart';
|
||||
|
||||
Source get readcomicsonlineSource => _readcomicsonlineSource;
|
||||
|
||||
Source _readcomicsonlineSource = Source(
|
||||
name: "Read Comics Online",
|
||||
baseUrl: "https://readcomicsonline.ru",
|
||||
lang: "en",
|
||||
isNsfw:true,
|
||||
typeSource: "mmrcms",
|
||||
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mmrcms/src/readcomicsonline/icon.png",
|
||||
dateFormat:"d MMM. yyyy",
|
||||
dateFormatLocale:"en_us",
|
||||
);
|
||||
BIN
manga/multisrc/mmrcms/src/scanvf/icon.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
14
manga/multisrc/mmrcms/src/scanvf/scanvf.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import '../../../../../model/source.dart';
|
||||
|
||||
Source get scanvfSource => _scanvfSource;
|
||||
|
||||
Source _scanvfSource = Source(
|
||||
name: "Scan VF",
|
||||
baseUrl: "https://www.scan-vf.net",
|
||||
lang: "fr",
|
||||
isNsfw:true,
|
||||
typeSource: "mmrcms",
|
||||
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/mmrcms/src/scanvf/icon.png",
|
||||
dateFormat:"d MMM. yyyy",
|
||||
dateFormatLocale:"en_us",
|
||||
);
|
||||