get-user-agents.sh - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
get-user-agents.sh (262B) | |
--- | |
1 #!/bin/sh | |
2 | |
3 useragentfile="$HOME/bin/modules/http-user-agent/user-agents.txt" | |
4 | |
5 { | |
6 for browser in chrome firefox; | |
7 do | |
8 for os in windows osx; | |
9 do | |
10 curl -s "https://api.user-agent.io/?browser=${br… | |
11 printf "\n" | |
12 done | |
13 done | |
14 } > $useragentfile | |
15 |