From 4771d889dbcb7188666b1f80e01008a97ab5ece5 Mon Sep 17 00:00:00 2001 From: Yogesh S Date: Mon, 16 Jun 2025 12:22:00 +0530 Subject: [PATCH] Changes --- dart/anime/anime_source_list.dart | 2 ++ dart/anime/src/en/donghuastream/donghuastream.dart | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dart/anime/anime_source_list.dart b/dart/anime/anime_source_list.dart index 302c95fc..7ab0bc58 100644 --- a/dart/anime/anime_source_list.dart +++ b/dart/anime/anime_source_list.dart @@ -26,6 +26,7 @@ import 'src/it/animesaturn/source.dart'; import 'src/pt/animesvision/source.dart'; import 'src/sq/filma24/source.dart'; import 'src/tr/diziwatch/source.dart'; +import 'src/en/donghuastream/source.dart'; List dartAnimesourceList = [ gogoanimeSource, @@ -55,4 +56,5 @@ List dartAnimesourceList = [ animeonlineninjaSource, kisskhSource, vumetoSource, + donghuastreamSource, ]; diff --git a/dart/anime/src/en/donghuastream/donghuastream.dart b/dart/anime/src/en/donghuastream/donghuastream.dart index c7249ba4..730fde43 100644 --- a/dart/anime/src/en/donghuastream/donghuastream.dart +++ b/dart/anime/src/en/donghuastream/donghuastream.dart @@ -110,7 +110,6 @@ class DonghuaStream extends MProvider { String name = '${servers[i].attr("data-index")}: ${servers[i].text}'; String valueHtml = utf8.decode(base64Url.decode(servers[i].attr('value'))); String serverUrl = xpath(valueHtml,'//iframe/@src')[0]; - print('$name,$serverUrl'); if(serverUrl.startsWith('https://geo.dailymotion.com/player')){ String videoId = RegExp(r'[?&]video=([a-zA-Z0-9]+)').firstMatch(serverUrl).group(1)!; return dailymotionUrlFetcher(videoId,name); @@ -121,7 +120,6 @@ class DonghuaStream extends MProvider { Future> dailymotionUrlFetcher(String videoID, String name) async { String metaDataUrl = 'https://www.dailymotion.com/player/metadata/video/$videoID'; - print(metaDataUrl); final res = (await client.get(Uri.parse(metaDataUrl))).body; final jsonRes = json.decode(res); String masterUrl = jsonRes["qualities"]["auto"][0]["url"];