diff --git a/lib/src/youtube_explode_base.dart b/lib/src/youtube_explode_base.dart index 5d2756b..95903ce 100644 --- a/lib/src/youtube_explode_base.dart +++ b/lib/src/youtube_explode_base.dart @@ -58,7 +58,7 @@ class YoutubeExplode { if (urlString.isNullOrWhiteSpace && !playerConfiguration.playerSourceUrl.isNullOrWhiteSpace) { - var cipher = streamInfoJson['cipher'] as String; + var cipher = streamInfoJson['signatureCipher'] as String; url = await decipherUrl( playerConfiguration.playerSourceUrl, cipher, client); } @@ -122,7 +122,7 @@ class YoutubeExplode { if (urlString.isNullOrWhiteSpace && !playerConfiguration.playerSourceUrl.isNullOrWhiteSpace) { - var cipher = streamInfoJson['cipher'] as String; + var cipher = streamInfoJson['signatureCipher'] as String; url = await decipherUrl( playerConfiguration.playerSourceUrl, cipher, client); }