-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added option to scrape X ammount of pages
- Loading branch information
1 parent
89726b1
commit dd96fa3
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dd96fa3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I am quite new on python so sorry in advance if this seems too easy! First thanks for the code, I think it's great. Unfortunately I get a lot of repeated restaurants as responses.. Any idea why that might be?
Thanks!
dd96fa3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi aquinto! Thank you for you words!
Yes, I was told that this scrapper became useless since Tripadvisor switched to a dynamic website structure an few months ago so there's no way to paginate with a static URL. He pointed out in this issue: #3. A solution for this problem is to use Selenium but it means a total refactor of the project which I don't have the time to do at the moment. Feel free to ask any other doubts.