Update title RE.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 18 Dec 2006 23:05:51 +0000 (23:05 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 18 Dec 2006 23:05:51 +0000 (23:05 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@778 959494ce-11ee-0310-bf91-de5d638817bd

ANN.pm

diff --git a/ANN.pm b/ANN.pm
index 746cf15..f41147a 100644 (file)
--- a/ANN.pm
+++ b/ANN.pm
@@ -141,7 +141,7 @@ sub getseries
     }
     
     $ret{"url"} = geturl $id;
-    ($buf) = ($html =~ /\<TITLE\>Anime News Network - ([^<]*)<\/TITLE>/);
+    ($buf) = ($html =~ /\<title\>([^<]*) - Anime News Network<\/title>/);
     if($buf =~ /\([^\)]+\)$/) {
        ($ret{"name"}, $ret{"type"}) = ($buf =~ /^(.*[^\s])\s*\(([^\)]+)\)$/);
     } else {