Installing & Running
Copy the folder to the
Build the program:
See below for input/output information
The parser's input consists of a series of football competitions, with their corresponding archive url.
The parser will parse these competitions in a concurrent way.
All pages are cached in the
cache folder, in case you'd like to run it more than once.
Images are saved in the
The names of those images correspond to the id of the 'owner'. (e.g. the player with id
512, will have an image named
While parsing, you can see the stats on a webpage. Open your browser and go to
http://localhost:8080. This page will you show you the progress of the parser.
The output of the parser is a JSON file, containing the whole database.
You can import this JSON file in the main ZeeJong installation, running the importer.
You can also install preloaded data. We provide a JSON file contain an archive of competitions.
In order to install this, you must run yourdomain.com/core/importer.php. This may take some time.
Do this after the installation. Note that the script will empty all tables before loading the sample data.
More information on installing and setting up ZeeJong, can be found in the readme of the ZeeJong project.
- Timo Truyts
- Mathias Beke
- Parsing html: GoQuery