- youtube.com
- dailymotion.com
- vimeo.com
- yandex.video
- facebook.com
- instagram.com (In future updates)
- soundcloud.com
- twitter.com
- tiktok.com
- vk.com
- odnoklassniki.ru
- bilibili.com
- hotstar.com
- openloadmovies.net
- streamago.com
- tune.pk
- viu.com
Add the dependency in pubspec.yaml
:
dependencies:
...
extractor: ^0.0.1
Change minSdkVersion
to 17
in android > app > build.gradle
android {
defaultConfig {
minSdkVersion 17
}
}
Get direct link
void getData()async{
VideoData results = Extractor.getDirectLink(link: 'https://www.youtube.com/watch?v=Ne7y9_AbBsY');
}
VideoData
class consists of following,
bool? status;
String? message;
String? title;
String? thumbnail;
String? duration;
List<Link>? links;
- Ashish Pipaliya - Author
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to raise issues and open PR