DominicMaas / youtube-extractor

YouTube stream extractor library for Dart. Based on YouTubeExplode by Tyrrrz.
MIT License
85 stars 27 forks source link

Unable to get Video or Audio URL from Youtube extractor #25

Open spvjebaraj opened 4 years ago

spvjebaraj commented 4 years ago

Hi,

I am using the below code to extract the video URL to download the video in my app. I am always getting empty array in video property.

var videoInfo = await extractor.getMediaStreamsAsync(videoId); print('Video URL: ${videoInfo.video}');

Please let me know if any other alternative solution.

DominikDeseyve commented 4 years ago

same here...

Hexer10 commented 4 years ago

I had this issue as well, I've rewritten this library following the original code here: https://github.com/Hexer10/youtube_explode_dart/ The API is pretty much the same, just more idiomatic to dart.