diff --git a/source/cartastraccia/rss.d b/source/cartastraccia/rss.d index d4db045..bb6d737 100644 --- a/source/cartastraccia/rss.d +++ b/source/cartastraccia/rss.d @@ -180,6 +180,10 @@ return; }, (ref ValidRSS vr) { + if(vr.channel.items.empty) { + logInfo("["~vr.channel.title~"] Empty feed"); + return; + } if(vr.channel.items[0].pubDate == "") { logInfo("["~vr.channel.title~"] No pubDate for feed items. Not sorting articles by date");