-
-
Notifications
You must be signed in to change notification settings - Fork 240
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 request: add ratings #35
Comments
Sounds interesting, but I can't seem to make it work:
Can you show an example url to get with curl (or tell me what client you used to test it). Also it would be useful if you show an example response. |
https://github.com/mnm1992/review-fetcher/blob/master/fetcher/iosRatingScraper.js full js code sample :) |
And an article explaining howto do it in curl: https://innumero.wordpress.com/2011/02/08/scraping-the-apple-app-store/ |
Still no luck, this prompts for a password, and sending an empty one as your link suggests doesn't work either.
I've tried several combinations, please provide me with a command that I can paste as is to get the results. |
Weird it does work in postman(A chrome extension) and my js app(See link above). |
https://pastebin.com/NGxW3YPF |
Postman doesn't work because it doesn't allow you to override the user agent. |
It does, that's where I copy pasted the pastebin output from. It gives a warning yes, and then does it anyway |
And the postman call, that should help, just press end after importing this |
Btw I tried on windows and osx, mabye postman can't do useragent magic on linux |
Update on this, since the old way mentioned here no longer works. |
Here is the endpoint:
Using an iTunes user agent, it returns:
|
@facundoolano I am working on a The method I was thinking, to keep
Results:
The interesting part is that it works out of the box with the country parameter that Let me know if it makes sense and have any suggestions. Cheers, |
I'm ok with that as long as the ratings request/parsing doesn't happen by default (when not explicitly requested). |
@facundoolano awesome! will get back to you once ready and PR this stuff 🚀 Great work, life-saving :) |
PR here: #94 |
@facundoolano can we close this now? |
Thank you, it was a creative discussion and pleasant PR 🤝 |
Can the ratings also be added to this library, like the android version?
They are a bit more complex to fetch, but very useful.
You can fetch them with the call below:
By using: GET http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=&pageNumber=0&sortOrdering=2&type=Purple+Software
With headers:
User-Agent: iTunes/9.1.1
X-Apple-Store-Front: 143441-1
X-Apple-Store-Front tells it which apple store to talk to 143441-1 is usa.
This page includes all reviews and all ratings, so it includes way more data then the rss feed and is literally the call that itunes makes.
The text was updated successfully, but these errors were encountered: