Update default User Agent to modern browser.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
pull/1406/head
Dan Schaper 7 years ago
parent bfc4775b34
commit 6a2b885988
No known key found for this signature in database
GPG Key ID: 572E999E385B7BFC

@ -187,7 +187,7 @@ gravity_spinup() {
saveLocation=${piholeDir}/list.${i}.${domain}.${justDomainsExtension}
activeDomains[$i]=${saveLocation}
agent="Mozilla/10.0"
agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/537.36"
# Use a case statement to download lists that need special cURL commands
# to complete properly and reset the user agent when required

Loading…
Cancel
Save