code: def get_soup(url):
      
      html = requests.get(url, stream=True, headers=HEADERS)
      if html.status_code != 404:
          return BeautifulSoup(html.content, 'html.parser')
      else:
          return None
docs: Request the page and return the soup.