From 75cdb423d4bb253631932bfdf2852adeff8624c9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 6 Jan 2012 00:49:55 +0000 Subject: [PATCH] yppedia scraper: ignore "{{testing}}" --- yarrg/CommodsScrape.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/yarrg/CommodsScrape.pm b/yarrg/CommodsScrape.pm index d6951cf..4b027f1 100644 --- a/yarrg/CommodsScrape.pm +++ b/yarrg/CommodsScrape.pm @@ -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) = -- 2.30.2