Skip to content

API for scrapping news on stock market for sentiment analysis and stock prediction

Notifications You must be signed in to change notification settings

rohitgandikota/Stock-News-Scrapping-With-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Stock-News-Scrapping-With-Python

NewsAPI is python library that extracts news from various articles. Although, it restricts the full content of article by 200 chars. So this project aims to extract the full content from html requests manually.

We also use newspaper library to help extract content after our manual extraction attempt.

To use the code as it is, please generate a newsapi apikey using the link

Use a summarization and sentiment classification link from your end or opensource. The one we gave in the code is our aws hosted service, to avoid costs, we have masked it in the code provided.

# This function extracts news about Test company's stock news, market sentiment, performance, investor news. 
headlines, news = getNews(company='Tesla')

Releases

No releases published

Packages

 
 
 

Languages