input: from typing import List
  
  def web_crawler(url: str) -> List[str]:
      """ Create a web crawler in Python that starts from a website and looks for other links in the page then scrapes the page content.
      >>> web_crawler('http://example.com')
      ['http://example.com', 'http://example.com/about', 'http://example.com/contact']
      """
      visited = set()
      queue = [url] 
   
      while queue:
          curr = queue.pop(0)
          visited.add(curr) 
          response = requests.get(curr)
   
          if response.ok:
              soup = BeautifulSoup(response.text, 'html.parser')
  
              # scrape the page here 
  
              # find all the links
              links = soup.find_all('a', href=re.compile('^http')) 
   
              for link in links:
                  if link['href'] not in visited:
                      queue.append(link['href'])
      return list(visited)
output:     from bs4 import BeautifulSoup
      import requests
      import re
  
      visited = set()
      queue = [url] 
   
      while queue:
          curr = queue.pop(0)
          visited.add(curr) 
          response = requests.get(curr)
   
          if response.ok:
              soup = BeautifulSoup(response.text, 'html.parser')
  
              # scrape the page here 
  
              # find all the links
              links = soup.find_all('a', href=re.compile('^http')) 
   
              for link in links:
                  if link['href'] not in visited:
                      queue.append(link['href'])
      return list(visited)