Mercurial > eagle-eye
changeset 148:b23077d597b0
fixed.
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Sat, 01 Nov 2008 01:34:39 +0800 |
parents | 7f9109a50679 (current diff) aad08889ddb3 (diff) |
children | 97dfcc0d1e3f |
files | Ikariam.pm |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Ikariam.pm Sat Nov 01 01:33:53 2008 +0800 +++ b/Ikariam.pm Sat Nov 01 01:34:39 2008 +0800 @@ -581,6 +581,7 @@ my $href = $extractor->find('//div[@id="troopsReport"]/div/h3/a/@href'); # $report{targetCity} = $extractor->find('//td[@class="battle"]/a/text()'); # my $href = $extractor->find('//td[@class="battle"]/a/@href'); + if($href =~ /index\.php\?view=island&id=(\d+)&selectCity=(\d+)/) { $report{island} = $1; $report{city} = $2;