]> git.sesse.net Git - ccbs/blob - sql/cc04/update-cc04.sh
69e83b49e0282401a39c9af6098747db4a929a7c
[ccbs] / sql / cc04 / update-cc04.sh
1 #! /bin/sh
2
3 SEASON="Challenge Cup 2004"
4
5 (
6         while read ccno id; do
7                 wget -O- "http://www.ddreurope.com/results.php?since=0&act=2&t_id=$id" |
8                         perl ../../parse/parse-ddreurope-tournament.pl "$SEASON" > cc$ccno-04.sql
9         done
10 ) <<"EOF"
11 1       29
12 2       31
13 3       35
14 4       38
15 5       39
16 6       40
17 7       41
18 EOF