]> git.donarmstrong.com Git - bin.git/commitdiff
* it's a text regex
authorDon Armstrong <don@donarmstrong.com>
Fri, 16 Apr 2010 22:17:47 +0000 (22:17 +0000)
committerDon Armstrong <don@donarmstrong.com>
Fri, 16 Apr 2010 22:17:47 +0000 (22:17 +0000)
get_sgf

diff --git a/get_sgf b/get_sgf
index d279126044acdc317f0801dd031d6472a9eeaf42..f978b81ed5c4a1321158bb88df40a98b58e37ab1 100755 (executable)
--- a/get_sgf
+++ b/get_sgf
@@ -123,7 +123,7 @@ for my $url (@ARGV) {
      $m->get("http://gobase.org$fname");
      $m->save_content('temp.sgf');
      $m->get($uri->as_string);
-     $m->follow_link(url_regex=>qr/PostScript/);
+     $m->follow_link(text_regex=>qr/PostScript/);
      $m->form_number(2);
      $m->select('scale',$options{scale});
      $m->field('fig',$options{figures});