Commit 66dc0997 authored by Volker Krause's avatar Volker Krause
Browse files

Override previous results on the same node

This matters for extractors like Flixbus that augment JSON-LD data from
HTML content and produce results that can't be merged.
parent 60351fa0
......@@ -209,8 +209,10 @@ void ExtractorEnginePrivate::processNode(ExtractorDocumentNode& node)
for (const auto &extractor : extractors) {
auto res = extractor->extract(node, q);
// TODO store result sources
if (!res.isEmpty()) {
m_usedExtractor = extractor->name();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment