extractScripts function

List<Bs4Element> extractScripts(
  1. BeautifulSoup soup
)

Implementation

List<Bs4Element> extractScripts(BeautifulSoup soup) {
  List<Bs4Element> scripts = soup.findAll("script");
  return scripts.where((script) => script.text.contains("bcstudent") ).toList();

}