next up previous contents index
Next: 2.4 Transfer to your Up: 2. Installation and Quickstart Previous: 2.2.1 Specifying the pages   Contents   Index

2.3 Running the Parser

Now that you have created your description file you are ready to run the parser to get the pages. For our simple case here this does not require much. Simply open a command line window, change to the directory where you installed the python parser and run the following (% is the shell prompt)

% python PyPlucker/Spider.py -f PluckerDB

(This call will work on any system, on Unix you can leave out the explicit call to Python of course.) Make sure you have established a connection to the Internet before you issue this call.

Now the parser will read your freshly created home.html follow the links the way you defined them and finally write a file to your harddisk called PluckerDB.pdb. In case of problems you might want to add the additional parameter -V2 to see where the error occurs.

NOTE: The spider has plenty of parameters. You will find a detailed description of all of them in chapter 4. Additionally to the parameters specified to the parser call you can set default values in a file calles plucker.ini (on OS/2 and Windows) or .pluckerrc (on Unix). So if something happens that you did not expect it is a good idea to check this file. A detailed description of the parameters for this file and its format can also be found in chapter 4 and within the file itself.


next up previous contents index
Next: 2.4 Transfer to your Up: 2. Installation and Quickstart Previous: 2.2.1 Specifying the pages   Contents   Index
The Plucker Team