NLP-with-Python icon indicating copy to clipboard operation
NLP-with-Python copied to clipboard

It would max at 2 or 3 reviews and stop

Open kyle10n opened this issue 5 years ago • 1 comments

removing the ::2 index allows the scrapper to find the 5 reviews then go to the next page.

If you don't the script thinks it has found all reviews on the first page then stops.

I think tripadvisor updated their website so this happened.

kyle10n avatar Mar 06 '19 13:03 kyle10n

You are right. I suggest replacnig class name for num_reviews to ''hotels-hotel-review-about-with-photos-Reviews__seeAllReviews--3PpLR" and adding this line: num_reviews = num_reviews.replace('review', '')

fuad47 avatar Dec 30 '19 11:12 fuad47