diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2014-01-28 23:03:17 +0100 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2014-01-28 23:03:17 +0100 |
commit | 8d9171e57fb25d8810694cfd0dbb4410d842eb3f (patch) | |
tree | 970c88582280a6dc08447dc537df2f46551942dd /tests/scripts | |
parent | 1efe8ef6ce53130a88f2c61e98102ad9ec2ac784 (diff) | |
download | cgeo-8d9171e57fb25d8810694cfd0dbb4410d842eb3f.zip cgeo-8d9171e57fb25d8810694cfd0dbb4410d842eb3f.tar.gz cgeo-8d9171e57fb25d8810694cfd0dbb4410d842eb3f.tar.bz2 |
Update tests
Diffstat (limited to 'tests/scripts')
-rwxr-xr-x | tests/scripts/update-trackables | 8 |
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 |