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

outdated

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

example/direct_link_example.dart

import 'package:direct_link/direct_link.dart';

void main() async {
  var directLink = DirectLink();

  var url = 'https://www.facebook.com/watch/?v=336069382196510';
  var check = await directLink.check(url);

  if (check != null) {
    for (var element in check) {
      print(element.quality);
      print(element.type);
      print(element.link);
      print('-' * 10);
    }
  }
}
82
likes
0
points
104
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

html, puppeteer

More

Packages that depend on direct_link