From 2d113abff6fdedaa9a5211b6e3769fe124e8261b Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 21 Nov 2020 23:53:47 +0100 Subject: [PATCH] Don't stop after first post if keep_looking = true. --- src/document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document.cpp b/src/document.cpp index c99e169..03cde8f 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -224,7 +224,7 @@ void Document::parse_rss(const pt::ptree &tree) BOOST_LOG_TRIVIAL(debug) << "Found GUID: " << item.guid; - if (_profiledata.guids.empty()) + if (_profiledata.guids.empty() && !_profiledata.keep_looking) { BOOST_LOG_TRIVIAL(debug) << "This is the first run."; break;