Twitter

Categories

bash, cURL, Scripting

Investigate problems due to User-Agent using Bash

micro-site with two the UA’s and discover the difference. UA_Chrome=”Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36″; UA_AdsBot=”AdsBot-Google (+http://www.google.com/adsbot.html)”; URL=”sea/C21/1AI/D01/?v=3.1&NavState=/_/N-1xv8Zmpk&kind=Regenlaars+(Dames)”; # Cloudflare visit “https://www.wehkamp.nl/$URL” “$UA_Chrome”; visit “https://www.wehkamp.nl/$URL” “$UA_AdsBot“; # main gateway visit “https://gateway.wehkamp.internal/$URL” “$UA_Chrome”; visit “https://gateway.wehkamp.internal/$URL”…