Link Search Menu Expand Document Moon Sun
Table of contents
  1. Headline HTTP
  2. Download the flow

Headline HTTP

All information about the current news can be found on the website from n-tv https://n-tv.de/ and we are just copying the first 10 topics and sending it to TTS node. We need an HTTP Request node to get the information from the website and after that use css to collect the information which we are looking for. The information load from the URl is stored in an array. The first value from each payload is the topic from the new (e.g : Politic), the second is the title and the third one is a brief description of the news : the function named CollectNewsWithoutVideo handled this.

the intent is something like :

[GetTopTenNews]
current top news.

The TTS will then output the first ten news from n-tv web page

Picture below shows the complete nodes used.

Headlines-http

Download the flow