(*************************************************** Ant Movie Catalog importation script www.antp.be/software/moviecatalog/ [Infos] Authors=Karl Johan Petersson (Kalle@verification.se) Title=LoveFilm Description=Import data & picture from www.lovefim.se in swedish Site=www.lovefilm.se Language=SE Version=0.5 Requires=3.5.0 Comments=Script cleaned and Batch mode working. License=This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. GetInfo=1 [Options] BatchMode=0|0|0=Normal working mode, prompts user when needed|1=Does not display any window, takes the first movie found ***************************************************) program LoveFilm; uses StringUtils1; var MovieName: string; MovieURL: string; MovieNumber: string; // ***** analyzes the results page that asks to select a movie from a list ***** procedure AnalyzeResultsPage(Address: string); var PageText: string; Value: string; begin PageText := GetPage(Address); // If the page contains 'LOVEFIL : Sök' the this is a list of different movies that applies to the seach critera. // If it does not contain this text then this is the page with Movie information. if (Pos('