input: Write a function to scrape product data from an online web store using Python BeautifulSoup. The function should make a GET request to the store's URL, parse the HTML content, and extract the name, price, and description of each product. Return the extracted data as a list of dictionaries, where each dictionary contains the name, price, and description of a product. If no products are found, return an empty list.
  assert scrape_products('http://web-store.com')==[{name: 'Product 1', price: '10.99', description: 'Description 1'}, {name: 'Product 2', price: '19.99', description: 'Description 2'}]
  assert scrape_products('http://non-existent-store.com')==[]
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_products(url):
      response = requests.get(url)
      if response.status_code != 200:
          return []
      soup = BeautifulSoup(response.content, 'html.parser')
      products = []
      for product in soup.find_all('div', class_='product'):
          name = product.find('h2', class_='name').text
          price = product.find('span', class_='price').text
          description = product.find('p', class_='description').text
          products.append({'name': name, 'price': price, 'description': description})
      return products