mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-23 07:10:29 +00:00
Reorganize folders
This commit is contained in:
26
dart/manga/src/all/nhentai/sources.dart
Normal file
26
dart/manga/src/all/nhentai/sources.dart
Normal file
@@ -0,0 +1,26 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user