input: from typing import List
  
  def scrape_headlines(url: str) -> List[str]:
      """ Scrape headlines from the given online news website.
      >>> scrape_headlines("https://www.news.com/")
      ['Headline 1', 'Headline 2', 'Headline 3']
      """
      return []
output:     
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      headlines = [h.text.strip() for h in soup.find_all('h2')]
      return headlines
  