input: import requests
  from bs4 import BeautifulSoup
  
  def extract_hotel_reviews(url: str, headers: dict) -> None:
      """Extract hotel reviews from a given TripAdvisor URL using a web scraper.
      The scraper should print the title and text of each review.
  
      >>> extract_hotel_reviews('https://www.tripadvisor.com/Hotel_Review-g60763-d122005', 
      ... {'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'})
      I stayed here for a week and it was amazing
      The hotel was very clean and the staff was incredibly helpful. I would definitely recommend it to anyone visiting the area.
      --------------------------------------------------
      Don’t stay here if you can avoid it
      The rooms were dirty and the service was terrible. I had a very unpleasant experience and don’t want to come back.
      --------------------------------------------------
      """
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
      reviews = soup.find_all('div', {'class': 'review-container'})
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text
          text = review.find('p', {'class': 'partial_entry'}).text
          print(title)
          print(text)
          print('-' * 50)
output:     response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
      reviews = soup.find_all('div', {'class': 'review-container'})
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text
          text = review.find('p', {'class': 'partial_entry'}).text
          print(title)
          print(text)
          print('-' * 50)