input: from typing import List
  
  def crawl_page(urls: List[str]) -> List[str]:
      """ Scrape the page content and extract all the links from each page in the given list of URLs.
      Returns a list of all unique URLs found on the pages.
      >>> crawl_page(['http://example.com'])
      ['http://example.com', 'http://example.com/page1', 'http://example.com/page2']
      """
output:     from urllib.request import urlopen
      from bs4 import BeautifulSoup
      import re
  
      unique_urls = set()
  
      for url in urls:
          try:
              page = urlopen(url)
              soup = BeautifulSoup(page, 'html.parser')
              links = soup.find_all('a', href=True)
              for link in links:
                  href = link['href']
                  if href.startswith('http'):
                      unique_urls.add(href)
                  elif href.startswith('/'):
                      unique_urls.add(url + href)
          except Exception as e:
              continue
  
      return list(unique_urls)