ccc_privacy_crawler
ccc_privacy_crawler copied to clipboard
Tカードの 個人情報提供の停止 対象企業一覧 の新着を通知するためのTwitterボットです
CCC Privacy Crawler
Tカードの 個人情報提供の停止 対象企業一覧 の新着を通知するためのTwitterボットです
- Twitter: https://twitter.com/ccc_privacy_bot
- Twilog: http://twilog.org/ccc_privacy_bot
- webアプリ: https://ccc-privacy-crawler.herokuapp.com/
Requirements
- Ruby
Setup
- create twitter app and generate access token
- https://apps.twitter.com/
cp .env{.example,}
vi .env
bundle install
bundle exec padrino rake ar:create ar:migrate
Run development
run local server
bundle exec padrino s
open http://localhost:3000/
run crawler
bundle exec rake crawl_pdf
Test
RACK_ENV=test bundle exec rake ar:migrate
bundle exec rspec
