Hello, I want to get news data from the 2000s. It seems that I need to use ek.get_news_headlines
instead of rd.news.get_headlines
. However, I can't figure out how to include dates in my code. It gives an error every time.
For example
ek.get_news_headlines(query='Topic:LSEG and Language:LEN', count=10, date_from='2016-01-20T00:00:00', date_to='2016-02-20T00:00:00')
above code gives
TypeError: datetime64 values must have a unit specified