Console application for scrapping cryptocurrency news from other sites with xpath and predict sentimental of those article by tokenize article into sentences and predicted sentimental by Machine Learning then use majority scoring to score and find the result of those article. all of scrapping data those process in this application will save into SQL database for let's others application to take them to show.
- Install specific dependencies of this project.
pip install -r requirements.txt
- Install compatible ChromeDriver version with Google Chrome Browser version.
- Comment this code section in luancher.py for your first execution.
self.db.execute_commit(f"""
DROP TABLE Source_Configs;
""")
- Edit database config in config.yaml ( your database shoud be Postgresql. If it's not, you should to install it first. )
database:
# database dev config
dev:
host: # host IP
port: # host Port
username: # database username
password: # database password
dbname: # database name
# end database config
- Start Engine
python main.py