direct_link 0.1.3 copy "direct_link: ^0.1.3" to clipboard
direct_link: ^0.1.3 copied to clipboard

outdated

Flutter package for direct link extractor from URL to stream and download directly

direct_link #

For those who want to create a movie and downloader app, this is a useful package.

You can get a direct link from the URL that my support sites.

Support Sites #

  • Twitter
  • Youtube
  • Facebook
  • DailyMotion
  • PCloud
  • MegaUp
  • Dropbox
  • SolidFiles
  • MediaFire
  • Google Drive
  • Xnxx
  • PornHub
  • xHamster

Getting Started #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  direct_link:

Next we need to install this

# Dart
pub get

# Flutter
flutter packages get

In your library add the following import:

import 'package:direct_link/direct_link.dart';

Usage #

Use check class to check your link have been existed my support sites

var check = await DirectLink.check(url); // add your url

Example #

if (check == null) {
    // null condition
}else{
     if (check.length > 1) {
         // multiple links and quality
     }else{
         // single link
     }
}

58
likes
0
pub points
78%
popularity

Publisher

unverified uploader

Flutter package for direct link extractor from URL to stream and download directly

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, requests

More

Packages that depend on direct_link