input: Write a function to create a web scraper that extracts specific data from a given website using the BeautifulSoup package in Python. The function should take a URL as input, parse the webpage using BeautifulSoup, and extract the required data. The extracted data should be converted into the desired format and stored.
  assert scrape_web('<url_of_webpage>')==<extracted_data>
  assert scrape_web('<another_url>')==<another_extracted_data>
  assert scrape_web('<invalid_url>')==None
output: def scrape_web(url):
      try:
          import requests
          from bs4 import BeautifulSoup
          response = requests.get(url)
          if response.status_code != 200:
              return None
          soup = BeautifulSoup(response.content, 'html.parser')
          # Example extraction logic:
          # data = soup.find('div', class_='specific-class').text
          # Convert data to desired format and store
          return data
      except Exception as e:
          return None