
for i in range(0,10):
result = get_bing_news_search(keyword = 'vaccine', numberarticle = 30, offset = i*30)
dfArr.append(pd.json_normalize(result['value']))
if i == 0 :
totalmatch = int(result['totalEstimatedMatches'])
print(result['totalEstimatedMatches'])
if i > totalmatch :
break
df_total = pd.concat(dfArr)
I want to get historical news data ( related to vaccine )
So, Use count and offset params. But there's a lot of duplicated data like the picture above
Does 'Bing News Search API' have a limitation on providing only a few months of historical data or only a few number(maybe 200?) of article available?
If there is any limitation, is there any way I can get news articles from years past ( long period )?
Thank you