Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 384 Bytes
#!/bin/env ruby
# encoding: utf-8
require 'rubygems'
require 'bundler/setup'
require 'scraperwiki'
require 'twitter_list'
abort "Need to set ENV['MORPH_TWITTER_TOKENS']" unless ENV.key? 'MORPH_TWITTER_TOKENS'
twitter_list = ENV['MORPH_TWITTER_TOKENS'])
ScraperWiki.save_sqlite([:id], twitter_list.people('makthavare', 'riksdagsledamoter'))
You can’t perform that action at this time.