implementation of BeautifulSoup to extract info