favicon 1.0.13 copy "favicon: ^1.0.13" to clipboard
favicon: ^1.0.13 copied to clipboard

outdated

Library for finding favicons in a website, either in a <link> or by predefined URL.

example/favicon_example.dart

import 'package:favicon/favicon.dart';

main() async {
  var urls = [
    'https://www.aftonbladet.se',
    'https://www.braziltravelblog.com',
    'https://www.mashable.com',
    'https://tradevenue.se/miljonarinnan30',
    'https://github.com/',
    'https://www.businessinsider.com/',
    'https://www.mrmoneymustache.com/',
    'https://thedividendstory.com/',
    'http://dailybeast.com',
    'https://www.traveldailynews.com/',
    'https://www.tenable.com/blog-rss',
    'http://blog.tenablesecurity.com/atom.xml', // Should fail and yield null
    'https://hbr.org/',
    'http://benfrain.com/',
    'http://www.alistapart.com',
    'https://fortune.com/',
    'https://tidochpengar.se/'
  ];

  for (var url in urls) {
    print(url);
    print(await Favicon.getBest(url));
    print('');
  }
}
28
likes
0
points
2.81k
downloads

Publisher

unverified uploader

Weekly Downloads

Library for finding favicons in a website, either in a <link> or by predefined URL.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

html, http, image

More

Packages that depend on favicon