mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-16 11:50:30 +00:00
New source Aniwave (EN)
This commit is contained in:
@@ -101,7 +101,7 @@ class OtakuDesu extends MProvider {
|
||||
xpath(res, '//*[@class="mirrorstream"]/ul/li/a/@data-content');
|
||||
for (var stream in mirrorstream) {
|
||||
List<MVideo> a = [];
|
||||
final decodedData = json.decode(base64(stream, 0));
|
||||
final decodedData = json.decode(utf8.decode(base64Url.decode(stream)));
|
||||
final q = decodedData["q"];
|
||||
final id = decodedData["id"];
|
||||
final i = decodedData["i"];
|
||||
@@ -114,7 +114,8 @@ class OtakuDesu extends MProvider {
|
||||
"body": body,
|
||||
"url": "${source.baseUrl}/wp-admin/admin-ajax.php"
|
||||
}));
|
||||
final html = base64(substringBefore(substringAfter(res, ":\""), '"'), 0);
|
||||
final html = utf8.decode(
|
||||
base64Url.decode(substringBefore(substringAfter(res, ":\""), '"')));
|
||||
final url = xpath(html, '//iframe/@src').first;
|
||||
|
||||
if (url.contains("yourupload")) {
|
||||
|
||||
@@ -2,7 +2,7 @@ import '../../../../model/source.dart';
|
||||
import '../../../../utils/utils.dart';
|
||||
|
||||
Source get otakudesu => _otakudesu;
|
||||
const otakudesuVersion = "0.0.1";
|
||||
const otakudesuVersion = "0.0.2";
|
||||
const otakudesuCodeUrl =
|
||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/anime/src/id/otakudesu/otakudesu-v$otakudesuVersion.dart";
|
||||
Source _otakudesu = Source(
|
||||
@@ -13,5 +13,5 @@ Source _otakudesu = Source(
|
||||
iconUrl: getIconUrl("otakudesu", "id"),
|
||||
sourceCodeUrl: otakudesuCodeUrl,
|
||||
version: otakudesuVersion,
|
||||
appMinVerReq: "0.0.7",
|
||||
appMinVerReq: "0.0.8",
|
||||
isManga: false);
|
||||
|
||||
Reference in New Issue
Block a user