input: Write a function to generate a Python code for crawling a website to extract a specific type of data, in this case, phone numbers. The function should take a website URL as input and return a list of phone numbers found on the webpage. If no phone numbers are found, return an empty list.
  assert crawl_website_for_phone_numbers('www.example.com') == ['123-456-7890', '555-555-5555']
  assert crawl_website_for_phone_numbers('www.anothersite.com') == []
  assert crawl_website_for_phone_numbers('www.phonesite.com') == ['111-222-3333']
  assert crawl_website_for_phone_numbers('www.nosite.com') == []
  assert crawl_website_for_phone_numbers('www.multiplephones.com') == ['000-000-0000', '999-999-9999', '888-888-8888']
output: import re
  import requests
  from bs4 import BeautifulSoup
  
  def crawl_website_for_phone_numbers(url):
      try:
          response = requests.get(f'http://{url}')
          response.raise_for_status()
          soup = BeautifulSoup(response.text, 'html.parser')
          text = soup.get_text()
          phone_numbers = re.findall(r'\b\d{3}[-.]?\d{3}[-.]?\d{4}\b', text)
          return phone_numbers
      except:
          return []