How to customize the search engines?

The search engine definition is located in {BitSpirit installation}\config\search.ini.
#Format: Name|URL, i.e. 167BT.COM|http://search.167bt.com/?q={searchterms}&c={clientversion}&l={locale}
#{searchterms} means the text to search, will be encoded in UTF-8 format.
#{localeterms} means the text to search, will be encoded in System Locale.
#{clientversion} means the version of BitSpirit, optional.
#{locale} means the code page of system, optional.
 
Pre-defines:
Google|http://search.167bt.com/?q={searchterms}&c={clientversion}&l={locale}&site=Google
Baidu|http://search2.167bt.com/?q={searchterms}&c={clientversion}&l={locale}&site=Baidu
BTCHINA|http://search2.167bt.com/?q={searchterms}&c={clientversion}&l={locale}&site=BTCHINA
MiniNova|http://search.167bt.com/?q={searchterms}&c={clientversion}&l={locale}&site=MiniNova
ThePirateBay|http://search.167bt.com/?q={searchterms}&c={clientversion}&l={locale}&site=ThePirateBay