input: Write a python function to scrape a webpage and return the top ten most frequent words.
  assert get_top_words('https://www.example.com') == ['example', 'words', 'from', 'the', 'webpage']
  assert get_top_words('https://www.python.org') == ['Python', 'is', 'the', 'most', 'frequent', 'words']
  assert get_top_words('https://www.wikipedia.org') == ['Wikipedia', 'is', 'a', 'free', 'online', 'encyclopedia']
output: def get_top_words(url):
      import requests
      from bs4 import BeautifulSoup
      from collections import Counter
      import re
  
      # Fetch the content from the URL
      response = requests.get(url)
      if response.status_code != 200:
          return []
  
      # Parse the webpage content
      soup = BeautifulSoup(response.content, 'html.parser')
      
      # Extract text from the webpage
      text = soup.get_text()
      
      # Tokenize the text into words and filter out non-alphabetic words
      words = re.findall(r'\b\w+\b', text.lower())
      
      # Count the frequency of each word
      word_counts = Counter(words)
      
      # Get the top 10 most common words
      top_words = [word for word, count in word_counts.most_common(10)]
      
      return top_words