Skip to content

code4hk/hk-news-scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hk-news-scrapper

A scrapper of Hong Kong news. It is a spin-off from the backend of NewsDiff HK.

Dev Environment Setup

Install mongodb and start it up:

$mongod --dbpath <path to ur dev db>

To create a virtual environment and install the dependencies:

$ virtualenv -p python3 newsdiff
$ source newsdiff/bin/activate
$ pip3 install -r requirements.txt

To run the scraper:

$ python3 main.py &

To track the log:

$ tail news_diff.log -f

To deactivate the virtual environment after use:

$ deactivate

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages