mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-19 05:10:30 +00:00
27 lines
895 B
Dart
27 lines
895 B
Dart
import '../../../../../model/source.dart';
|
|
|
|
const _nhentaiVersion = "0.0.15";
|
|
const _nhentaiSourceCodeUrl =
|
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/all/nhentai/nhentai.dart";
|
|
|
|
String _iconUrl =
|
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/manga/src/all/nhentai/icon.png";
|
|
const _baseUrl = 'https://nhentai.net';
|
|
const _isNsfw = true;
|
|
|
|
List<String> _languages = ["all", "en", "zh", "ja"];
|
|
|
|
List<Source> get nhentaiSourcesList => _nhentaiSourcesList;
|
|
List<Source> _nhentaiSourcesList = _languages
|
|
.map((e) => Source(
|
|
name: 'NHentai',
|
|
baseUrl: _baseUrl,
|
|
hasCloudflare: true,
|
|
lang: e,
|
|
typeSource: "NHentai",
|
|
iconUrl: _iconUrl,
|
|
isNsfw: _isNsfw,
|
|
version: _nhentaiVersion,
|
|
sourceCodeUrl: _nhentaiSourceCodeUrl))
|
|
.toList();
|