Skip to content

zeyap/news_viz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

configurations

newsdemo: the main project

newsdemo/apps/viz: the app for user interfaces

newsdemo/apps/crawler: all methods of crawlers

run the project

STEP 1. Install celery:

$ pip install celery $ pip install django-celery

Install RabbitMq here and start it on your computer

$ python manage.py migrate --settings=newsdemo.settings.local

STEP 2. Open 2 consoles:

Start the user interface process: $ python manage.py runserver --settings=newsdemo.settings.local

Start the auto-crawler process: $ python manage.py celery worker --loglevel=info --settings=newsdemo.settings.local

Write your own crawler and test it

See example in newsdemo/apps/crawler/crawlers.py - class TestCrawler

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages