Commit 6f23e78c authored by Thibault Ehrhart's avatar Thibault Ehrhart

news-collector: ignore articles with genre TextProgram

parent 8afadb40
......@@ -120,6 +120,13 @@ public class AgenceFrancePresse {
"Skip article with Agenda/Advisory/Business Wire: " + article.getId());
return;
}
if (article.getGenre().equals("TextProgram")) {
System.out.println(
"Skip article with genre TextProgram: " + article.getId());
return;
}
List<ImageObject> images =
AgenceFrancePresseMethods.getArticleImages(article);
images.forEach(article::addAssociatedMedia);
......
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