SneakerBotTutorials icon indicating copy to clipboard operation
SneakerBotTutorials copied to clipboard

Adidas splash page rejects most user agent's.

Open conradj5 opened this issue 8 years ago • 6 comments

If you take a screenshot after a task has started and put in the actual splash page, many of them give an error saying that the current browser is "not currently supported" and to "update to a modern browser". This is due to the user agents being outdated.

conradj5 avatar Nov 18 '17 07:11 conradj5

Here are some example user agents that I've tested. UserAgent.txt

conradj5 avatar Nov 18 '17 07:11 conradj5

Also do not use any mobile device user agents. It adidas refuses connection when it attempts to redirect to m.adidas.com UserAgen.txt

conradj5 avatar Nov 18 '17 08:11 conradj5

Hey Conrad!

Thank you for bringing this to my attention. I'm going to collect some modern user-agents and confirm they are working.

Do you think it would be a better idea to have a single user-agent rather than randomizing the header on each driver? I'm thinking it might be better to just assign "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36" as the header for each driver.

Best, Christopher

theriley106 avatar Nov 19 '17 00:11 theriley106

If you are using proxies I don't see the harm in using the same user agent. I guess its not a bad thing, I just don't think its completely necessary.

conradj5 avatar Nov 19 '17 02:11 conradj5

This may not be the proper place to ask this... but how would I go about using your bot?

stephenmd avatar Nov 21 '17 18:11 stephenmd

You can use the python module https://pypi.org/project/fake-useragent/ to have a humongous database of User agents to use

IzziCooki avatar Nov 28 '20 03:11 IzziCooki