Files
kodjodevf-mangayomi-extensions/dart/manga/src/all/nhentai/sources.dart
2024-03-28 11:13:42 +01:00

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();