input: Write a function to implement a web crawling script that extracts phone numbers from a given website URL. The function should take the website URL as input and return a list of phone numbers found in the format of `XXX-XXX-XXXX`. If no phone numbers are found, it should return an empty list.
  assert crawl_website_for_phone_numbers('www.example.com')==['123-456-7890', '987-654-3210']
  assert crawl_website_for_phone_numbers('www.anothersite.com')==[]
  assert crawl_website_for_phone_numbers('www.phonesite.com')==['555-555-5555']
  assert crawl_website_for_phone_numbers('www.nosuchsite.com')==[]
  assert crawl_website_for_phone_numbers('www.variousnumbers.com')==['111-222-3333', '444-555-6666']
output: import re
  import requests
  
  def crawl_website_for_phone_numbers(url):
      try:
          response = requests.get(f'http://{url}')
          response.raise_for_status()
          content = response.text
          phone_numbers = re.findall(r'\b\d{3}-\d{3}-\d{4}\b', content)
          return phone_numbers
      except:
          return []