input: 
  from typing import List
  
  def extract_hotel_reviews(url: str, headers: dict) -> List[dict]:
      """ Extract hotel reviews from the given TripAdvisor URL.
      The function will make a request to the provided URL with the specified headers,
      parse the HTML content, and extract reviews. Each review includes a title and 
      the main text. The function returns a list of dictionaries where each dictionary 
      contains 'title' and 'text' keys.
      >>> extract_hotel_reviews('https://www.tripadvisor.com/Hotel_Review-g60763-d122025-Reviews-Crowne_Plaza_Times_Square_Manhattan-New_York_City_New_York.html',
      ... {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'})
      [{'title': 'Great Location', 'text': 'We had a great time...'}, {'title': 'Excellent Stay', 'text': 'The service was top-notch...'}]
      """
      import requests
      from bs4 import BeautifulSoup
  
      # Make a request and get HTML in response
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
  
      # Find all reviews
      reviews = soup.find_all('div', {'class': 'review-container'})
  
      # Extract data from each review
      extracted_reviews = []
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text if review.find('span', {'class': 'noQuotes'}) else ''
          text = review.find('p', {'class': 'partial_entry'}).text if review.find('p', {'class': 'partial_entry'}) else ''
          extracted_reviews.append({'title': title, 'text': text})
      
      return extracted_reviews
  
output:     import requests
      from bs4 import BeautifulSoup
  
      # Make a request and get HTML in response
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
  
      # Find all reviews
      reviews = soup.find_all('div', {'class': 'review-container'})
  
      # Extract data from each review
      extracted_reviews = []
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text if review.find('span', {'class': 'noQuotes'}) else ''
          text = review.find('p', {'class': 'partial_entry'}).text if review.find('p', {'class': 'partial_entry'}) else ''
          extracted_reviews.append({'title': title, 'text': text})
      
      return extracted_reviews