This commit is contained in:
kodjomoustapha
2023-12-08 16:04:42 +01:00
parent 0beb2dd78f
commit fe6bf88086
492 changed files with 3988 additions and 2639 deletions

View File

@@ -1,68 +1,22 @@
import '../../../model/source.dart';
import '../../../utils/utils.dart';
import 'src/yugenmangas/yugenmangas.dart';
import 'src/omegascans/omegascans.dart';
import 'src/perfscan/perfscan.dart';
const heancmsVersion = "0.0.4";
const heancmsSourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/heancms/heancms-v$heancmsVersion.dart";
const defaultDateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ";
const defaultDateFormatLocale = "en";
List<Source> get heanCmsSourcesList => _heanCmsSourcesList;
List<Source> _heanCmsSourcesList = [
Source(
name: "YugenMangas",
baseUrl: "https://yugenmangas.lat",
apiUrl: "https://api.yugenmangas.net",
lang: "es",
typeSource: "heancms",
isNsfw: true,
iconUrl: getIconUrl("yugenmangas", "es"),
sourceCodeUrl: heancmsSourceCodeUrl,
version: heancmsVersion,
dateFormat: defaultDateFormat,
dateFormatLocale: defaultDateFormatLocale),
Source(
name: "OmegaScans",
baseUrl: "https://omegascans.org",
apiUrl: "https://api.omegascans.org",
lang: "en",
typeSource: "heancms",
isNsfw: true,
iconUrl: getIconUrl("omegascans", "en"),
sourceCodeUrl: heancmsSourceCodeUrl,
version: heancmsVersion,
dateFormat: defaultDateFormat,
dateFormatLocale: defaultDateFormatLocale),
// Source(
// name: "Reaper Scans",
// baseUrl: "https://reaperscans.net",
// apiUrl: "https://api.reaperscans.net",
// lang: "pt-br",
// typeSource: "heancms",
// iconUrl: getIconUrl("reaperscans", "pt"),
// sourceCodeUrl: heancmsSourceCodeUrl,
// version: heancmsVersion,
// dateFormat: defaultDateFormat,
// dateFormatLocale: defaultDateFormatLocale),
Source(
name: "Perf Scan",
baseUrl: "https://perf-scan.fr",
apiUrl: "https://api.perf-scan.fr",
lang: "fr",
typeSource: "heancms",
iconUrl: getIconUrl("perfscan", "fr"),
sourceCodeUrl: heancmsSourceCodeUrl,
version: heancmsVersion,
dateFormat: defaultDateFormat,
dateFormatLocale: defaultDateFormatLocale),
// Source(
// name: "Glorious Scan",
// baseUrl: "https://gloriousscan.com",
// apiUrl: "https://api.gloriousscan.com",
// lang: "pt-br",
// typeSource: "heancms",
// iconUrl: getIconUrl("gloriousscan", "pt"),
// sourceCodeUrl: heancmsSourceCodeUrl,
// version: heancmsVersion,
// dateFormat: defaultDateFormat,
// dateFormatLocale: defaultDateFormatLocale),
];
List<Source> get heancmsSourcesList => _heancmsSourcesList;
List<Source> _heancmsSourcesList = [
//YugenMangas (ES)
yugenmangasSource,
//OmegaScans (EN)
omegascansSource,
//Perf Scan (FR)
perfscanSource,
]
.map((e) => e
..sourceCodeUrl = heancmsSourceCodeUrl
..version = heancmsVersion)
.toList();

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -0,0 +1,14 @@
import '../../../../../model/source.dart';
Source get omegascansSource => _omegascansSource;
Source _omegascansSource = Source(
name: "OmegaScans",
baseUrl: "https://omegascans.org",
lang: "en",
typeSource: "heancms",
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/heancms/src/omegascans/icon.png",
dateFormat:"yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
dateFormatLocale:"en",
);

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -0,0 +1,14 @@
import '../../../../../model/source.dart';
Source get perfscanSource => _perfscanSource;
Source _perfscanSource = Source(
name: "Perf Scan",
baseUrl: "https://perf-scan.fr",
lang: "fr",
isNsfw: true,
typeSource: "heancms",
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/heancms/src/perfscan/icon.png",
dateFormat:"yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
dateFormatLocale:"en",
);

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,14 @@
import '../../../../../model/source.dart';
Source get yugenmangasSource => _yugenmangasSource;
Source _yugenmangasSource = Source(
name: "YugenMangas",
baseUrl: "https://yugenmangas.lat",
lang: "es",
typeSource: "heancms",
iconUrl:"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/multisrc/heancms/src/yugenmangas/icon.png",
dateFormat:"yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
dateFormatLocale:"en",
);