input: Write a function to crawl a website for a specific type of data and return the data as a list. If the website is provided, the function should send a GET request to the site and search for phone numbers using a regular expression. If no phone numbers are found, an empty list should be returned. 
  
  def crawl_website_for_phone_numbers(website):
      response = requests.get(website)
      phone_numbers = re.findall('\d{3}-\d{3}-\d{4}', response.text)
      return phone_numbers
  
  if __name__ == '__main__':
      print(crawl_website_for_phone_numbers('www.example.com'))
  
  assert crawl_website_for_phone_numbers('www.example.com')==['123-456-7890', '987-654-3210']
  assert crawl_website_for_phone_numbers('www.nonexistentwebsite.com')==[]
output: def crawl_website_for_phone_numbers(website):
      try:
          response = requests.get(website)
          phone_numbers = re.findall(r'\d{3}-\d{3}-\d{4}', response.text)
          return phone_numbers
      except requests.exceptions.RequestException:
          return []