extractPrices method

List<String> extractPrices()

Extract prices found on the page (useful for e-commerce)

Implementation

List<String> extractPrices() {
  if (_htmlContent == null) {
    throw ScraperNotInitializedException();
  }

  return SmartExtractor.extractPrices(_htmlContent!);
}