https://github.com/somdipdey/scrapping_and_crawling_financialnews
https://github.com/somdipdey/scrapping_and_crawling_financialnews
crawling crawling-sites finance news python python-3 scrapping scrapping-python
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/somdipdey/scrapping_and_crawling_financialnews
- Owner: somdipdey
- License: mit
- Created: 2018-01-26T22:37:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-04T07:53:27.000Z (about 7 years ago)
- Last Synced: 2025-02-15T10:31:23.118Z (3 months ago)
- Topics: crawling, crawling-sites, finance, news, python, python-3, scrapping, scrapping-python
- Language: Python
- Size: 568 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scrapping And Crawling Financial News
#### Build for Linux and OSX:
[](https://travis-ci.org/somdipdey/Scrapping_And_Crawling_FinancialNews_For_Keywords)
[](https://github.com/somdipdey/Scrapping_And_Crawling_FinancialNews_For_Keywords/blob/master/LICENSE)An umbrella project, comprising of several different modules, to scrap and crawl financial news for useful/relevant information.
## Installation
Install the following packages before you can start using them::
>> pip install lxml
>> pip install requests
>> pip install pandas
>> pip install quandl
>> pip install matplotlib
>> pip install numpy>=1.6.1
>> pip install pillowElse:
>> pip install -r requirements.txt
#### To install this package manually:
Download the package from https://github.com/somdipdey/Scrapping_And_Crawling_FinancialNews_For_Keywords.gitThen:
>> python setup.py install
## Usage
#### Using Word Cloud to visualise the news article (Module: news_word_cloud)
###### Example:
The news article on "Fast-Food Joke About Saudi Prince Backfires for Lebanon Comedian" available at https://www.bloomberg.com/news/articles/2018-01-26/fast-food-joke-about-saudi-prince-backfires-for-lebanon-comedian can be visualised as follows:

#### Using Word Cloud to visualise the news article with specific keywords appearing in specific colors (Module: news_word_cloud.news_word_cloud_by_color)
###### Example:
The news article on "Fast-Food Joke About Saudi Prince Backfires for Lebanon Comedian" available at https://www.bloomberg.com/news/articles/2018-01-26/fast-food-joke-about-saudi-prince-backfires-for-lebanon-comedian can be visualised as follows:

#### Using Keyword Crawler to extract/check if the news article contains the keyword(s) (Module: financial_news_keyword_crawler)
###### Example:
The news article on "Fast-Food Joke About Saudi Prince Backfires for Lebanon Comedian" available at https://www.bloomberg.com/news/articles/2018-01-26/fast-food-joke-about-saudi-prince-backfires-for-lebanon-comedian is searched for keyword "national" and the result is as follows:
Paragraph number: 1
FalseParagraph number: 2
FalseParagraph number: 3
FalseParagraph number: 4
FalseParagraph number: 5
FalseParagraph number: 6
FalseParagraph number: 7
FalseParagraph number: 8
FalseParagraph number: 9
FalseParagraph number: 10
FalseParagraph number: 11
FalseParagraph number: 12
FalseParagraph number: 13
FalseParagraph number: 14
FalseParagraph number: 15
TrueParagraph number: 16
False