chiark
/
gitweb
/
~ijackson
/
ypp-sc-tools
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c283715
)
chart scraper: cope with {{current}}
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 19 Feb 2012 13:56:12 +0000 (13:56 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 19 Feb 2012 13:56:12 +0000 (13:56 +0000)
yarrg/CommodsScrape.pm
patch
|
blob
|
history
diff --git
a/yarrg/CommodsScrape.pm
b/yarrg/CommodsScrape.pm
index
4b027f1
..
ccc2d98
100644
(file)
--- a/
yarrg/CommodsScrape.pm
+++ b/
yarrg/CommodsScrape.pm
@@
-55,7
+55,7
@@
sub yppedia_chart_parse ($$ $$$$ $) {
s/^\s*//; chomp; s/\s+$//; s/\s+/ /g;
s/\<\/?(?:b|em)\>//g;
s/\{\{(?:chart\ style|Chart league difficulty)\|[^{}]*\}\}//gi;
- s/^\{\{testing\}\}//;
+ s/^\{\{(?:testing|current)\}\}//;
next unless m/\{\{/; # only interested in chart template stuff
if (($x,$y,$arch) =