Add source.dart

This commit is contained in:
KptnFishy
2025-06-04 20:17:10 +02:00
committed by GitHub
parent bd9b6e8f84
commit 315a877ff1

View File

@@ -0,0 +1,19 @@
import '../../../../../model/source.dart';
Source get mangaparkSource => _mangaparkSource;
const _mangaparkVersion = "1.0.0";
const _mangaparkSourceCodeUrl = "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/en/mangahere/mangahere.dart";
const _mangaparkIconUrl = "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/en/mangapark/icon.png";
Source _mangaparkSource = Source(
name: "MangaPark",
baseUrl: "http://www.mangapark.io",
apiUrl: "http://www.mangapark.io/apo/",
lang: "en",
typeSource: "single",
iconUrl: _mangaparkIconUrl,
sourceCodeUrl: _mangaparkSourceCodeUrl,
itemType: ItemType.manga,
version: _mangaparkVersion,
dateFormat: "MMM dd yyyy",
dateFormatLocale: "en",
);