input: from typing import List
  
  def extract_hotel_reviews(url: str, headers: dict) -> List[dict]:
      """ Extract hotel reviews from a given TripAdvisor URL using web scraping. Each review
      should be a dictionary containing 'title' and 'text' keys.
      >>> extract_hotel_reviews('https://www.tripadvisor.com/Hotel_Review-g60763-d1217770-Reviews-The_New_York_Palace_Budapest-Budapest_Central_Hungary.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 Stay!', 'text': 'We loved the hotel, very central...'}, {'title': 'Amazing experience', 'text': 'The staff was incredibly helpful...'}]
      """
      import requests
      from bs4 import BeautifulSoup
  
      # Make a request and get HTML in response
      response = requests.get(url, headers=headers)
      
      # Parse HTML
      soup = BeautifulSoup(response.text, 'html.parser')
      
      # Find all reviews
      reviews = soup.find_all('div', {'class': 'review-container'})
      
      review_list = []
      
      # Go through every review and extract the data
      for review in reviews:
          # Get the title
          title = review.find('span', {'class': 'noQuotes'}).text if review.find('span', {'class': 'noQuotes'}) else ''
  
          # Get the text
          text = review.find('p', {'class': 'partial_entry'}).text if review.find('p', {'class': 'partial_entry'}) else ''
  
          # Add to the list
          review_list.append({'title': title, 'text': text})
      
      return review_list
output:     import requests
      from bs4 import BeautifulSoup
  
      # Make a request and get HTML in response
      response = requests.get(url, headers=headers)
      
      # Parse HTML
      soup = BeautifulSoup(response.text, 'html.parser')
      
      # Find all reviews
      reviews = soup.find_all('div', {'class': 'review-container'})
      
      review_list = []
      
      # Go through every review and extract the data
      for review in reviews:
          # Get the title
          title = review.find('span', {'class': 'noQuotes'}).text if review.find('span', {'class': 'noQuotes'}) else ''
  
          # Get the text
          text = review.find('p', {'class': 'partial_entry'}).text if review.find('p', {'class': 'partial_entry'}) else ''
  
          # Add to the list
          review_list.append({'title': title, 'text': text})
      
      return review_list