QSearch is a search engine which consists of a multithreaded web crawler, a handler of the crawled data and a tool for searching.
I have edited a gumbo C++ wrapper gumbo-query (https://github.com/lazytiger/gumbo-query).
Changes I made are below:
- Added function
search_for_links(copied and modified from gumbo-parser/examples https://github.com/google/gumbo-parser) - Added member function
CDocument::get_links - Edited destructor of CObject and member function CObject::release
- Added member function CSelection::results
- Added member function
CDocument::page_text
You can build QSearch with:
makerun the crawler with:
./main crawlprepare the system for searching with:
./main handlingand at last search your query with:
./main search what the weather for tomorrowYou can build my extension in py_extension/ and then use resulting binary for calling in your user interface