extractGroupContext function

GroupContext extractGroupContext(
  1. BeautifulSoup soup
)

Implementation

GroupContext extractGroupContext(BeautifulSoup soup) {
  Bs4Element memberLinkElement =
      soup.find('*', id: 'ctl00_Content_linksrep_ctl02_somelink')!;
  String id = queriesFromSoup(
      memberLinkElement.getAttrValue("href")!)['holdelementid']!;
  return GroupContext(id);
}