dart_web_scraper 0.0.1 copy "dart_web_scraper: ^0.0.1" to clipboard
dart_web_scraper: ^0.0.1 copied to clipboard

An easy to use and reusable web scraper and parser.

example/example.dart

import 'package:dart_web_scraper/dart_web_scraper.dart';
import 'configs.dart';

void main() async {
  /// Initialize WebScraper
  WebScraper webScraper = WebScraper();

  /// Scrape website based on configMap
  Map<String, Object> result = await webScraper.scrape(
    url: Uri.parse("https://quotes.toscrape.com"),
    configMap: configMap,
    configIndex: 0,
    debug: true,
  );

  print(result);
}
8
likes
0
pub points
63%
popularity

Publisher

verified publishersukhcha.in

An easy to use and reusable web scraper and parser.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, html, http, json5, json_path, path

More

Packages that depend on dart_web_scraper