Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEWS APP

This application is design to collect and scrap news data from different sources in a unified way using the python packages 'newspaper3k'. Flask module is use to publish information via HTTP method. SQLite is choice as embedded database software for local storage in this application.

Demo scrap news data:

Database:

Setup environment

Install flask

>>> pip install flask

Install newspaper3k

>>> pip install newspaper3k

Clear DB (execute SQL)

delete from news;    
from sqlite_sequence where name='news';

How to use:

  • Run 'utils.py' to get and insert article.

  • Run 'index.py' to start server.

  • (Or) Run 'run.bat' to start server.

About

This application is design to collect and scrap news data from different sources in a unified way using the python packages 'newspaper3k'. Flask module is use to publish information via HTTP method. SQLite is choice as embedded database software for local storage in this application.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages