Any way to get the User Agent look like a smart phone one?
« on: March 23, 2017, 04:21:25 AM »
Is there any way to override the user agent used so it looks like a mobile phone browser's user agent, e.g. Safari on an iPhone, or Chrome on an Android?
Re: Any way to get the User Agent look like a smart phone one?
« Reply #1 on: March 23, 2017, 06:35:21 AM »
Hello,

yes, it can be defined in generator/data/generator.conf file:
<option name="xs_crawl_ident">....</option>
Re: Any way to get the User Agent look like a smart phone one?
« Reply #2 on: March 23, 2017, 11:36:59 AM »
Great!  So something like
Quote
<option name="xs_crawl_ident">Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)</option>
(the latest Googlebot-mobile I found) should work, correct?