scripts/fetch-user-agents
raw| 1 | #! /usr/bin/env bash |
| 2 | set -e |
| 3 | |
| 4 | dir=$(dirname "$0") |
| 5 | curl="curl -Ls -H'User-Agent: gotohellwithyour403'" |
| 6 | |
| 7 | $curl http://techpatterns.com/downloads/firefox/useragentswitcher.xml | $dir/unpack-firefox-user-agent-switcher |
| 8 | $curl https://github.com/intoli/user-agents/raw/master/src/user-agents.json.gz | $dir/unpack-intoli-user-agents |