input: Write a function to generate a Python code for crawling a website for a specific type of data. The function should take the website URL and the type of data to crawl as input, and it should return the Python code that performs the crawling.
  
  assert crawl_website_for_data('www.example.com', 'phone numbers')=="""import requests
  import re
  
  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'))"""
output: def crawl_website_for_data(website, data_type):
      return f"""import requests
  import re
  
  def crawl_website_for_{data_type.replace(' ', '_')}(website):
      response = requests.get(website)
      {data_type.replace(' ', '_')} = re.findall('\\\\d{{3}}-\\\\d{{3}}-\\\\d{{4}}', response.text)
      return {data_type.replace(' ', '_')}
      
  if __name__ == '__main__':
      print(crawl_website_for_{data_type.replace(' ', '_')}('{website}'))"""