mangayomi/lib/utils/xpath_selector.dart
2023-05-25 20:59:02 +01:00

7 lines
232 B
Dart

import 'package:html/parser.dart';
import 'package:xpath_selector_html_parser/xpath_selector_html_parser.dart';
HtmlXPath xpathSelector(String html) {
final html1 = parse(html).documentElement!;
return HtmlXPath.node(html1);
}