anime source : gogoanime

This commit is contained in:
kodjomoustapha
2023-07-26 22:12:31 +01:00
parent 66473b9b8e
commit 03c7f91da1
20 changed files with 324 additions and 132 deletions

View File

@@ -0,0 +1,218 @@
import '../../../../model/source.dart';
const apiUrl = 'https://api.mangadex.org';
const baseUrl = 'https://mangadex.org';
const isNsfw = true;
const mangadexVersion = "0.0.11";
const mangadexSourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/src/all/mangadex/mangadex-v$mangadexVersion.dart";
const iconUrl = '';
List<Source> get mangaDexSourcesList => _mangaDexSourcesList;
List<Source> _mangaDexSourcesList = [
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'en',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'ar',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'pt',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'pt-br',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'it',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'ru',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'es',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'es-419',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'id',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'hi',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'de',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'ja',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'tr',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'pl',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'zh',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'zh-hk',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
Source(
name: 'MangaDex',
apiUrl: apiUrl,
baseUrl: baseUrl,
lang: 'fr',
typeSource: "mangadex",
iconUrl: iconUrl,
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
isNsfw: isNsfw,
dateFormatLocale: 'en_Us',
version: mangadexVersion,
sourceCodeUrl: mangadexSourceCodeUrl),
];