Don't stop after first post if keep_looking = true.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tastytea 2020-11-21 23:53:47 +01:00
parent f98f7569dc
commit 2d113abff6
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -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;