extractTitle method

String? extractTitle()

Extract only the page title using smart detection

Implementation

String? extractTitle() {
  if (_htmlContent == null) {
    throw ScraperNotInitializedException();
  }

  return SmartExtractor.extractTitle(_htmlContent!);
}