Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: parse all review pages #1

Open
alastairruhm opened this issue Jul 23, 2018 · 0 comments
Open

feature: parse all review pages #1

alastairruhm opened this issue Jul 23, 2018 · 0 comments

Comments

@alastairruhm
Copy link

my thought on this

  1. visit https://www.amazon.com/product-reviews/{asin}/ to get review_count

calculate the total_page_count by the following algorithm

totalpage = int(review_count) // 10 + (1 if int(review_count) % 10 != 0 else 0)
  1. go to every review page by switching the value of the pageNumber parameter

https://www.amazon.com/product-reviews/{asin}/?ie=UTF8&reviewerType=all_reviews&pageNumber={}

  1. parse the every page html files and write to the excel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant