mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 02:41:39 +00:00
Merge pull request #174 from Schnitzel5/fix/megacloud
fixed megacloud extractor by kohi-den extensions-source
This commit is contained in:
@@ -2,7 +2,7 @@ import '../../../../model/source.dart';
|
|||||||
import 'src/hianime/hianime.dart';
|
import 'src/hianime/hianime.dart';
|
||||||
import 'src/kaido/kaido.dart';
|
import 'src/kaido/kaido.dart';
|
||||||
|
|
||||||
const _zorothemeVersion = "0.1.2";
|
const _zorothemeVersion = "0.1.3";
|
||||||
const _zorothemeSourceCodeUrl =
|
const _zorothemeSourceCodeUrl =
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/zorotheme/zorotheme.dart";
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/multisrc/zorotheme/zorotheme.dart";
|
||||||
|
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ class ZoroTheme extends MProvider {
|
|||||||
Future<List<MVideo>> rapidCloudExtractor(String url, String name) async {
|
Future<List<MVideo>> rapidCloudExtractor(String url, String name) async {
|
||||||
final serverUrl = ['https://megacloud.tv', 'https://rapid-cloud.co'];
|
final serverUrl = ['https://megacloud.tv', 'https://rapid-cloud.co'];
|
||||||
|
|
||||||
final serverType = url.startsWith('https://megacloud.tv') ? 0 : 1;
|
final serverType = url.startsWith('https://megacloud.tv') || url.startsWith('https://megacloud.club') ? 0 : 1;
|
||||||
final sourceUrl = [
|
final sourceUrl = [
|
||||||
'/embed-2/ajax/e-1/getSources?id=',
|
'/embed-2/ajax/e-1/getSources?id=',
|
||||||
'/ajax/embed-6-v2/getSources?id='
|
'/ajax/embed-6-v2/getSources?id='
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ class NineAnimeTv extends MProvider {
|
|||||||
Future<List<MVideo>> rapidCloudExtractor(String url, String name) async {
|
Future<List<MVideo>> rapidCloudExtractor(String url, String name) async {
|
||||||
final serverUrl = ['https://megacloud.tv', 'https://rapid-cloud.co'];
|
final serverUrl = ['https://megacloud.tv', 'https://rapid-cloud.co'];
|
||||||
|
|
||||||
final serverType = url.startsWith('https://megacloud.tv') ? 0 : 1;
|
final serverType = url.startsWith('https://megacloud.tv') || url.startsWith('https://megacloud.club') ? 0 : 1;
|
||||||
final sourceUrl = [
|
final sourceUrl = [
|
||||||
'/embed-2/ajax/e-1/getSources?id=',
|
'/embed-2/ajax/e-1/getSources?id=',
|
||||||
'/ajax/embed-6-v2/getSources?id='
|
'/ajax/embed-6-v2/getSources?id='
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import '../../../../../model/source.dart';
|
import '../../../../../model/source.dart';
|
||||||
|
|
||||||
Source get nineanimetv => _nineanimetv;
|
Source get nineanimetv => _nineanimetv;
|
||||||
const _nineanimetvVersion = "0.0.4";
|
const _nineanimetvVersion = "0.0.5";
|
||||||
const _nineanimetvCodeUrl =
|
const _nineanimetvCodeUrl =
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/nineanimetv/nineanimetv.dart";
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/dart/anime/src/en/nineanimetv/nineanimetv.dart";
|
||||||
Source _nineanimetv = Source(
|
Source _nineanimetv = Source(
|
||||||
|
|||||||
Reference in New Issue
Block a user