link_extractor 1.0.0+1 copy "link_extractor: ^1.0.0+1" to clipboard
link_extractor: ^1.0.0+1 copied to clipboard

A Simple utility for extracting media urls from different websites.

example/main.dart

// ignore_for_file: avoid_print

import 'package:link_extractor/link_extractor.dart';

Future<void> main(List<String> args) async {
  try {
    final extractor = LinkExtractor();
    final links = await extractor.extract(
      'https://ok.ru/video/43134487273',
    );
    extractor.dispose();
    print(links);
  } on UnsupportedSiteException catch (e) {
    print('Website not supported. { error : $e }');
  }
}
copied to clipboard
3
likes
130
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.26 - 2025.04.10

A Simple utility for extracting media urls from different websites.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

equatable, html_character_entities, http

More

Packages that depend on link_extractor