chiark / gitweb /
yppedia scraper: ignore "{{testing}}"
[ypp-sc-tools.db-test.git] / yarrg / CommodsScrape.pm
index d6951cf6b905e99c792a280013cd94395b1ba521..4b027f185f76b9ed1dcb9ca44a92c68c90c8fb9c 100644 (file)
@@ -55,6 +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\}\}//;
        next unless m/\{\{/; # only interested in chart template stuff
 
        if (($x,$y,$arch) =