[英]NewsAPI Exclude Sources or Websites
Trying to curate a news feed using NewsAPI on an Android app, using Java. 尝试使用Java在Android应用上使用NewsAPI来策划新闻提要。 Is it possible to exclude sources/blogs from the response?
是否可以从响应中排除来源/博客? I could parse the results and skip the sources I don't want but I'm currently returning 50 responses and of the 50, more than half are from these sources, so I wouldn't be left with much.
我可以解析结果并跳过不需要的来源,但是我目前返回的是50个响应,在50个响应中,有一半以上来自这些源,因此我所剩无几。
Any other way to do this? 还有其他方法吗?
https://newsapi.org/docs/endpoints/everything https://newsapi.org/docs/endpoints/everything
You can use the excludeDomains
parameter to exclude sources you don't want returned. 您可以使用
excludeDomains
参数排除不想返回的源。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.