aboutsummaryrefslogtreecommitdiffstats
path: root/tests/scripts/update-trackables
blob: d30eb69d1e0e0a9eb9a0e0e9988fc58735419f9e (plain)
1
2
3
4
5
6
7
8
#! /bin/sh
#

cd $(dirname $0)/../res/raw
for i in tb?????.htm* trackable_tb*.htm*; do
  tbcode=$(echo $i | sed -e 's/^.*\(tb[a-z0-9]*\)\..*$/\1/')
  curl "http://www.geocaching.com/track/details.aspx?tracker=$tbcode" > $i
done