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;