input: from typing import List
  
  
  def extract_hotel_reviews(url: str) -> List[str]:
      """ Extracts hotel reviews from the provided URL on TripAdvisor.
      Each review string contains the title and text of the review, separated by a line of dashes ('-').
      >>> extract_hotel_reviews('https://www.tripadvisor.com/some_hotel')
      ['Amazing Stay!\\nThe service was impeccable...\\n--------------------------------------------------', 'Disappointing Experience:\\nThe room was not clean...\\n--------------------------------------------------']
      """
      import requests
      from bs4 import BeautifulSoup
  
      # Define the headers
      headers = {'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'}
  
      # 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'})
      
      # List to store review strings
      review_strings = []
  
      # Go through every review and extract the data
      for review in reviews:
          # Get the title
          title = review.find('span', {'class': 'noQuotes'}).text
  
          # Get the text
          text = review.find('p', {'class': 'partial_entry'}).text
  
          # Combine title and text with dashes and add to list
          review_string = f"{title}\\n{text}\\n{'--------------------------------------------------'}"
          review_strings.append(review_string)
      
      return review_strings
output:     import requests
      from bs4 import BeautifulSoup
  
      # Define the headers
      headers = {'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'}
  
      # 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'})
      
      # List to store review strings
      review_strings = []
  
      # Go through every review and extract the data
      for review in reviews:
          # Get the title
          title = review.find('span', {'class': 'noQuotes'}).text
  
          # Get the text
          text = review.find('p', {'class': 'partial_entry'}).text
  
          # Combine title and text with dashes and add to list
          review_string = f"{title}\\n{text}\\n{'--------------------------------------------------'}"
          review_strings.append(review_string)
      
      return review_strings