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

data.headers.xml: mobile UA string not working for Amazon #470

Open
thdoan opened this issue Mar 22, 2016 · 0 comments
Open

data.headers.xml: mobile UA string not working for Amazon #470

thdoan opened this issue Mar 22, 2016 · 0 comments

Comments

@thdoan
Copy link

thdoan commented Mar 22, 2016

I just tried the query below using an iPhone UA string, but the returned HTML content was still for the desktop version.

select * from {table} where url="http://www.amazon.com/" and ua="Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"

The interesting thing is it worked (I got the mobile version) if I changed url to http://www.yahoo.com/. Maybe some sites like Amazon is looking for another HTTP header that needs to be set in order for it to be identified as a mobile device?

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