aboutsummaryrefslogtreecommitdiffstats
path: root/tests/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts')
-rwxr-xr-xtests/scripts/update-trackables8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/scripts/update-trackables b/tests/scripts/update-trackables
new file mode 100755
index 0000000..d30eb69
--- /dev/null
+++ b/tests/scripts/update-trackables
@@ -0,0 +1,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