From: fredrik Date: Mon, 18 Dec 2006 23:05:51 +0000 (+0000) Subject: Update title RE. X-Git-Url: http://dolda2000.com/gitweb/?p=utils.git;a=commitdiff_plain;h=edcecb65d18376f5401aefbcbc2c563cf10e74f0 Update title RE. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@778 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/ANN.pm b/ANN.pm index 746cf15..f41147a 100644 --- a/ANN.pm +++ b/ANN.pm @@ -141,7 +141,7 @@ sub getseries } $ret{"url"} = geturl $id; - ($buf) = ($html =~ /\Anime News Network - ([^<]*)<\/TITLE>/); + ($buf) = ($html =~ /\([^<]*) - Anime News Network<\/title>/); if($buf =~ /\([^\)]+\)$/) { ($ret{"name"}, $ret{"type"}) = ($buf =~ /^(.*[^\s])\s*\(([^\)]+)\)$/); } else {