Problem of downloading News data

Hello,


I am an academic and working on a research project.

I would like to download all news either in the Turkish language OR related to Turkey from the earliest possible date.

Downloading this data has proven to be quite challenging. Could you assist me with this task? I can use python.

Best Answer

  • Jirapongse
    Answer ✓

    @handan.celik

    Thank you for reaching out to us.

    I assume that you have Eikon or Workspace application running on the machine. Therefore, you can use Refinitiv Data Library for Python to retrieve data.

    The examples are available on GitHub. You refer to the news examples.

    To search for news headlines, you can use the same query used in the News Monitor app. For example, the news query for the Turkish language is LTR.

    1719373053786.png

    For example:

    rd.news.get_headlines("LTR", start="2024-06-01", end="2024-06-02", count=100)

    The output is:

    1719373319065.png


Answers

  • Hello @handan.celik

    Please note that once you got the News Headlines and story id(s) from the query that provided by my colleague above, you can use the following code to get the News Story:

    rd.news.get_story("<story_id>", format=<format>)

    The format can be:

    • rd.news.Format.HTML
    • rd.news.Format.TEXT

    1719375093373.png