bzarras / newsapi

A promise-based node interface for NewsAPI
MIT License
144 stars 39 forks source link

API cuts off content data #38

Open ITCuw opened 2 years ago

ITCuw commented 2 years ago

Hi,

I noticed the API always cuts off content data, leaving something like this at the end of the string [+2219 chars]

Is there any way to tell the API to give the full content and not shorten it?

mashegoindustries commented 2 years ago

Hi,

According to newsapi.org documentation "The unformatted content of the article, where available. This is truncated to 200 chars."

In simple terms, it means they dont want you to be scrapping people's websites without permission, you should always show link to full article

YannyTwoo commented 2 years ago

Yep, as @mashegoindustries said. The whole article can't be displayed. It's a NewsAPI feature itself

Boscop commented 8 months ago

Is there no way to get the full article content via the API?