input: Write a function named scrape_website_links that collects all the links from a given website URL. The function should take a single string parameter representing the URL of the website, and return a list of strings where each string is a link from the webpage. If the URL is invalid or the request fails, return an empty list.
  
  
  assert scrape_website_links("http://www.example.com/")==['http://www.iana.org/domains/example']
  assert scrape_website_links("http://www.nonexistenturl.com/")==[]
  
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_website_links(url):
      try:
          response = requests.get(url)
          response.raise_for_status()
          soup = BeautifulSoup(response.text, 'html.parser')
          links = [a['href'] for a in soup.find_all('a', href=True)]
          return links
      except:
          return []