Merge pull request #1366 from pi-hole/fix/adaway-list-agent

Use correct agent when downloading adaway.org list
This commit is contained in:
DL6ER 2017-04-03 17:32:44 +02:00 committed by GitHub
commit c1913bfa7d

View file

@ -194,6 +194,10 @@ gravity_spinup() {
cmd_ext="-e http://forum.xda-developers.com/" cmd_ext="-e http://forum.xda-developers.com/"
;; ;;
"adaway.org")
agent='Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36'
;;
"pgl.yoyo.org") "pgl.yoyo.org")
cmd_ext="-d mimetype=plaintext -d hostformat=hosts" cmd_ext="-d mimetype=plaintext -d hostformat=hosts"
;; ;;