fixed megacloud extractor by kohi-den extensions-source

This commit is contained in:
Schnitzel5
2025-02-28 23:26:25 +01:00
parent 1ff8ebce3e
commit 02a548881c
2 changed files with 2 additions and 2 deletions

View File

@@ -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='

View File

@@ -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='