Skip to content

bopopescu/headlines_writer

 
 

Repository files navigation

#Click Bait Title Generator:

  • Make sure you have the required dependencies installed pip install -r requirements.txt

  • Install the NLTK packages punkt, stopwords and tagsets from python shell:

      		>>> import nltk
      		>>> nltk.download()
    
  • Install mongodb and import mongodb database dump: mongorestore --collection posts --db buzzfeed dump/buzzfeed/posts.bson

  • Run flask webserver with python click_bait.py

  • Direct your browser to the webserver

  • Click Generate

###Info:

  • Regenerating tags and tokens can be done by running python tag_tokenize.py although this is unecessary.
  • The Buzzfeed scraper used can be found here

About

generate click bait headlines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.2%
  • JavaScript 11.1%
  • HTML 8.0%
  • CSS 2.7%