and add your api from newsapi.
#I have shared my own api in this case.
this app catches the news articles depending upon the topic you provided into the code . and measures the polarity and decides whether the news is negative in nature or neutral or positive.