![](https://user-images.githubusercontent.com/32923529/167305467-81be9698-8101-4d23-a79e-d95d67b08aed.png)
extractor
Extract direct video links from video websites like youtube, vimeo and many more.
![](https://user-images.githubusercontent.com/32923529/167339036-0513d743-2e22-4eed-9d64-283171109531.png)
![](https://user-images.githubusercontent.com/32923529/167339102-cbb74852-c818-4407-b530-2c938dda2fc1.png)
![](https://user-images.githubusercontent.com/32923529/167339334-1b61b7a0-8bde-46c3-bd26-b051708d496c.png)
![](https://user-images.githubusercontent.com/32923529/167339666-bd33ee48-880d-419f-b37a-cdb856e978c2.png)
🌈 Supported Websites
- 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
🔥 Usage
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;
✍️ Authors
- Ashish Pipaliya - Author
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
🧰 Contribution
Feel free to raise issues and open PR