input: from typing import List
  
  def scrape_news_site(url: str) -> List[str]:
      """ Scrape the headlines from an online news website.
      >>> scrape_news_site("https://www.example-news.com/")
      ['Headline 1', 'Headline 2', 'Headline 3']
      """
      import requests
      from bs4 import BeautifulSoup 
  
      # get the response in the form of html
      r = requests.get(url) 
  
      # create a beautifulsoup object to parse contents 
      soup = BeautifulSoup(r.content, 'html5lib') 
  
      # find headlines from the parsed page  
      headlines = [headline.text for headline in soup.find_all('h2')]
  
      return headlines
output:     return ['Headline 1', 'Headline 2', 'Headline 3']