mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-15 03:10:59 +00:00
Add New sources: BeastScan (AR), Lelmanga (FR) & remove unused code
This commit is contained in:
@@ -70,22 +70,7 @@ class NepNep extends MProvider {
|
||||
final vmChapters =
|
||||
substringBefore(substringAfter(script, "vm.Chapters = "), ";");
|
||||
final chapters = json.decode(vmChapters) as List;
|
||||
var chapUrls = chapters
|
||||
.map((ch) =>
|
||||
'/read-online/${substringAfter(url, "/manga/")}${chapterURLEncode(ch['Chapter'])}')
|
||||
.toList();
|
||||
|
||||
var chaptersNames = chapters.map((ch) {
|
||||
String name = ch['ChapterName'] ?? "";
|
||||
String indexChapter = ch['Chapter'];
|
||||
if (name.isEmpty) {
|
||||
name = '${ch['Type']} ${chapterImage(indexChapter, true)}';
|
||||
}
|
||||
return name;
|
||||
}).toList();
|
||||
var chaptersDates = chapters.map((ch) => ch['Date']).toList();
|
||||
var dateUploads =
|
||||
parseDates(chaptersDates, source.dateFormat, source.dateFormatLocale);
|
||||
List<MChapter> chaptersList = [];
|
||||
|
||||
for (var ch in chapters) {
|
||||
@@ -219,11 +204,6 @@ class NepNep extends MProvider {
|
||||
|
||||
return '-chapter-$n$suffix$index.html';
|
||||
}
|
||||
|
||||
@override
|
||||
Future<List<MVideo>> getVideoList(MSource source, String url) async {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
Map<String, String> getHeader(String url) {
|
||||
|
||||
@@ -15,6 +15,7 @@ List<Source> _nepnepSourcesList = [
|
||||
lang: "en",
|
||||
typeSource: "nepnep",
|
||||
iconUrl: getIconUrl("mangasee", "en"),
|
||||
isFullData: true,
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: nepnepVersion,
|
||||
@@ -26,6 +27,7 @@ List<Source> _nepnepSourcesList = [
|
||||
lang: "en",
|
||||
typeSource: "nepnep",
|
||||
iconUrl: getIconUrl("mangalife", "en"),
|
||||
isFullData: true,
|
||||
dateFormat: defaultDateFormat,
|
||||
dateFormatLocale: defaultDateFormatLocale,
|
||||
version: nepnepVersion,
|
||||
|
||||
Reference in New Issue
Block a user