Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.
/ ps Public archive

📰 Posyt Web News Scraper - Rails & Sidekiq

Notifications You must be signed in to change notification settings

Posyt/ps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posyt Scraper

The Posyt news scraper

Development

Start the posyt-meteor pm server. MongoDB and Elasticsearch both run in the pm server, not here.

Start the server

./s

In a separate rails console (Only run this on initial configuration to create the index)

rake db:mongoid:create_indexes
Article.__elasticsearch__.create_index! force: true

Re-map & Re-index

Article.__elasticsearch__.create_index! force: true
Article.all.each { |a| Indexer.perform_async('index', a.class.to_s, a._id.to_s) }

Deployment

Just push to master and Heroku will take it from there

If you update a mongo index run:

heroku run rake db:mongoid:create_indexes

TODO

http://ctrlq.org/rss/ https://www.rsssearchhub.com/

global research http://www.globalresearch.ca/ https://www.rt.com/news/ https://sputniknews.com/ http://en.farsnews.com/allstories.aspx paul craig roberts http://www.paulcraigroberts.org/ consortium news https://consortiumnews.com/ http://theduran.com/ antiwar.com http://www.antiwar.com/ counterpunch http://www.counterpunch.org/ information clearinghouse http://www.informationclearinghouse.info/ new eastern outlook http://journal-neo.org/

http://katehon.com/ https://www.lewrockwell.com/ http://www.moonofalabama.org/ http://thesaker.is/ http://www.veteransnewsnow.com/ http://www.veteransnewsnow.com/ http://wearechange.org/ http://www.zerohedge.com/ SOTN - http://stateofthenation2012.com/

About

📰 Posyt Web News Scraper - Rails & Sidekiq

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published