input: 
  from typing import List, Any
  
  def extract_specific_data(url: str, tags_to_extract: List[str], attributes_to_extract: List[str]) -> List[Any]:
      """ Create a web scraper that extracts specific data from a given website. The scraper should utilize the Python package BeautifulSoup to parse webpages and extract the required data based on provided tags and attributes.
      >>> extract_specific_data("https://example.com", ['a'], ['href'])
      ['https://example.com/page1', 'https://example.com/page2']
      >>> extract_specific_data("https://example.com", ['h1'], ['text'])
      ['Example Title', 'Secondary Title']
      """
      import requests
      from bs4 import BeautifulSoup
  
      # Get the web page
      webpage = requests.get(url)
  
      # Parse the web page
      soup = BeautifulSoup(webpage.content, 'html.parser')
  
      extracted_data = []
  
      for tag in tags_to_extract:
          elements = soup.find_all(tag)
          for element in elements:
              for attribute in attributes_to_extract:
                  if attribute == 'text':
                      extracted_data.append(element.get_text())
                  else:
                      extracted_data.append(element.get(attribute))
  
      return extracted_data
  
output:     extracted_data = [item for item in extracted_data if item is not None]
      return extracted_data