File: fetch-user-agents

package info (click to toggle)
golang-github-corpix-uarand 0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 320 kB
  • sloc: python: 55; makefile: 27; sh: 7
file content (8 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#! /usr/bin/env bash
set -e

dir=$(dirname "$0")
curl="curl -Ls -H'User-Agent: gotohellwithyour403'"

$curl http://techpatterns.com/downloads/firefox/useragentswitcher.xml          | $dir/unpack-firefox-user-agent-switcher
$curl https://github.com/intoli/user-agents/raw/master/src/user-agents.json.gz | $dir/unpack-intoli-user-agents