readability 0.2.1
readability: ^0.2.1 copied to clipboard
A Flutter wrapper for https://github.com/go-shiori/go-readability
readability #
A flutter plugin that wraps the native Readability library for Android and iOS.
Usage #
Simply call the parseAsync
method with the URL of the article you want to parse. The method returns a Article
object with the title, content, and excerpt of the article.
import 'package:readability/readability.dart' as readability;
final result = await readability.parseAsync('https://example.com/article');
print(result.title);
print(result.textContent);
An example of how to use this plugin can be found in the example
directory.