input: Write a function to create a web scraper that extracts specific data from a given website using BeautifulSoup. The function should take a webpage URL as input, parse the webpage content, and extract the desired data based on specified HTML tags or attributes. If no specific extraction tags or attributes are provided, the function should print all the URLs found on the webpage.
  
  def create_web_scraper(webpage_url, extraction_tags=None, extraction_attributes=None):
      import requests
      from bs4 import BeautifulSoup
  
      # Get the web page
      webpage = requests.get(webpage_url)
  
      # Parse the web page
      soup = BeautifulSoup(webpage.content, 'html.parser')
  
      if extraction_tags and extraction_attributes:
          # Find specific tags with specified attributes
          elements = soup.find_all(extraction_tags, extraction_attributes)
      else:
          # Find all 'a' tags if no specific tags or attributes are provided
          elements = soup.find_all('a')
  
      # Extract the URLs or specified data
      for element in elements:
          print(element.get('href') if element.get('href') else element.text)
  
  assert create_web_scraper("https://example.com")==None
  assert create_web_scraper("https://example.com", 'a', {'class': 'link-class'})==None
output: def create_web_scraper(webpage_url, extraction_tags=None, extraction_attributes=None):
      import requests
      from bs4 import BeautifulSoup
  
      webpage = requests.get(webpage_url)
      soup = BeautifulSoup(webpage.content, 'html.parser')
  
      if extraction_tags and extraction_attributes:
          elements = soup.find_all(extraction_tags, extraction_attributes)
      else:
          elements = soup.find_all('a')
  
      for element in elements:
          print(element.get('href') if element.get('href') else element.text)