docs: def make_scrape_request(session, url, mode='get', data=None):
      """Make a request to URL."""
      try:
          html = session.request(mode, url, data=data)
      except RequestException:
          raise VooblyError('failed to connect')
      if SCRAPE_FETCH_ERROR in html.text:
          raise VooblyError('not logged in')
      if html.status_code != 200 or SCRAPE_PAGE_NOT_FOUND in html.text:
          raise VooblyError('page not found')
      return bs4.BeautifulSoup(html.text, features='lxml')