KB Search
-
Install Python
-
Install pip
-
Install mechanize
-
Install selenium
-
Install yaml a. sudo pip install pyyaml
-
Install phantomjs
- download: http://phantomjs.org/download.html
- install libfontconfig sudo apt-get install libfontconfig
- set PATH TO make 'phantomjs' available for selenium
config.yaml is a configuration template. Update the items accordingly.
python searchkb.py [path_to_config_file]
By default, it assumes config.yaml is in the same directory as the script, and the phantomjs is available through PATH, otherwise specify it in configuration file accordingly.