mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
fixed megacloud extractor by kohi-den extensions-source
This commit is contained in:
@@ -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='
|
||||||
|
|||||||
Reference in New Issue
Block a user