input: Write a python function to crawl headlines from a given URL using BeautifulSoup.
  assert crawl_headlines("https://www.example.com/news") == ["Example headline 1", "Example headline 2"]
  assert crawl_headlines("https://www.anotherexample.com/news") == ["Another headline 1", "Another headline 2"]
  assert crawl_headlines("https://www.yetanotherexample.com/news") == ["Yet another headline 1", "Yet another headline 2"]
output: def crawl_headlines(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      headlines = []
      for headline in soup.find_all('h1'):  # Assuming headlines are in <h1> tags, adjust as needed
          headlines.append(headline.get_text(strip=True))
      
      return headlines