title: Want to know how to crawling at tripadvisor
body: <p>I am trying to get all of the url links of restaurants in Singapore but my code is not working</p>
  <pre><code>data = requests.get(&quot;https://www.tripadvisor.com.sg/Restaurants-g294265-Singapore.html&quot;).text
  
  soup = BeautifulSoup(data, &quot;html.parser&quot;)
  
  for link in soup.find_all('a', {'property_title'}):
      print('https://www.tripadvisor.com/Restaurant_Review-g294265-' + link.get('href'))
      print(link.string)
  </code></pre>
  <p>It keeps on loading and loading again in the code <code>soup = BeautifulSoup(data, &quot;html.parser&quot;)</code></p>
  <p>I don't know why this happens even though this works well for other sites.</p>
  <p>Is this because trip advisor block crawling or code is wrong?</p>