Page 1 of 1

anime news network - not working

Posted: 2006-12-19 17:32:18
by animelover
i'm still new to the ant scripting engine, if any has some basic commands like string to integer, etc please let me know ;)

anyways, the error was found in the function

Code: Select all

Add_album_on_list
where

Code: Select all

(pos('<TR',Line)>BeginPos)
should be replaced with

Code: Select all

(pos('<BR',Line)>BeginPos)
it semi works only need to sort the titles... i think?

Posted: 2006-12-19 17:51:50
by animelover
fixed the title...

edit the function

Code: Select all

AnalyzeAnimePage
change the following code in the 'titres' section:

Code: Select all

BeginPos := Pos('<div id="page-title">', PageContents);
Value := findInfo('<h1 id="page_header">','</h1>',PageContents,'0');
:grinking:

Posted: 2006-12-19 19:53:43
by antp
For which script is this correction? :??:

Posted: 2006-12-28 11:17:55
by baffab
It's for AnimeNewsNetwork ( viewtopic.php?t=3137 ).
The site changed and the script must be modified as animelover said.