everypolitician-scrapers / twitter-ireland-donie

Scraper to run through a Twitter List of Irish politicians

Scrapes api.twitter.com


Scraper for Irish politicians' twitter handles

Original list https://twitter.com/donie/lists/32d via Politwoops

Contributors davewhiteland

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.2.4 -----> Installing dependencies using bundler 1.11.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.  Fetching gem metadata from https://rubygems.org/.........  Fetching version metadata from https://rubygems.org/...  Fetching dependency metadata from https://rubygems.org/..  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Fetching https://github.com/everypolitician/twitter_list.git  Installing addressable 2.4.0  Installing buftok 0.2.0  Installing coderay 1.1.1  Installing dotenv 2.1.1  Installing unf_ext 0.0.7.2 with native extensions  Installing equalizer 0.0.10  Installing http-form_data 1.0.1  Installing multipart-post 2.0.0  Installing http_parser.rb 0.6.0 with native extensions  Installing httpclient 2.8.0  Installing json 1.8.3 with native extensions  Installing thread_safe 0.3.5  Installing method_source 0.8.2  Installing naught 1.1.0  Installing slop 3.6.0  Installing sqlite3 1.3.11 with native extensions  Installing simple_oauth 0.3.1  Using twitter_list 0.0.0 from https://github.com/everypolitician/twitter_list.git (at master@58af21b)  Using bundler 1.11.2  Installing faraday 0.9.2  Installing unf 0.1.4  Installing memoizable 0.4.2  Installing pry 0.10.3  Installing sqlite_magic 0.0.6  Installing domain_name 0.5.20160615  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Installing http-cookie 1.0.2  Installing http 1.0.4  Installing twitter 5.16.0  Bundle complete! 5 Gemfile dependencies, 29 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (18.41s)  Cleaning up the bundler cache.   ###### WARNING:  You have not declared a Ruby version in your Gemfile.  To set your Ruby version add this line to your Gemfile:  ruby '2.2.4'  # See https://devcenter.heroku.com/articles/ruby-versions for more information.   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... /app/vendor/bundle/ruby/2.2.0/gems/twitter-5.16.0/lib/twitter/rest/response/raise_error.rb:15:in `on_complete': Sorry, that page does not exist. (Twitter::Error::NotFound) from /app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/response.rb:9:in `block in call' from /app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete' from /app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call' from /app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call' from /app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/request/multipart.rb:14:in `call' from /app/vendor/bundle/ruby/2.2.0/gems/twitter-5.16.0/lib/twitter/rest/request/multipart_with_file.rb:19:in `call' from /app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response' from /app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request' from /app/vendor/bundle/ruby/2.2.0/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get' from /app/vendor/bundle/ruby/2.2.0/gems/twitter-5.16.0/lib/twitter/rest/request.rb:33:in `perform' from /app/vendor/bundle/ruby/2.2.0/gems/twitter-5.16.0/lib/twitter/cursor.rb:29:in `initialize' from /app/vendor/bundle/ruby/2.2.0/gems/twitter-5.16.0/lib/twitter/rest/utils.rb:107:in `new' from /app/vendor/bundle/ruby/2.2.0/gems/twitter-5.16.0/lib/twitter/rest/utils.rb:107:in `perform_get_with_cursor' from /app/vendor/bundle/ruby/2.2.0/gems/twitter-5.16.0/lib/twitter/rest/lists.rb:430:in `cursor_from_response_with_list' from /app/vendor/bundle/ruby/2.2.0/gems/twitter-5.16.0/lib/twitter/rest/lists.rb:248:in `list_members' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/twitter_list-58af21b2861e/lib/twitter_list/scraper.rb:20:in `people' from scraper.rb:6:in `<main>'

Data

Downloaded 108 times by everypolitician davewhiteland

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (26 KB) Use the API

rows 10 / 137

id name twitter image
4875038871
Pat the Cope TD
Pat_theCope
4823508069
John Curran
curranjohna
4794727988
Dr Michael Harty
voteharty16
4382456055
Eamon Scanlon TD
EamonScanlonTD
4047353597
Aindrias Moynihan
AindriasMoynih1
3964447823
Michael Moynihan TD
mmoynihantd
3390714712
Kevin O'Keeffe TD
kevinokeeffeff
3360716968
Cllr Carol Nolan
carolno98273399
3332899594
Shane Cassells T.D.
ShaneCassells
3309194513
Denise Mitchell
DMitchellTD

Statistics

Average successful run time: half a minute

Total run time: about 1 hour

Total cpu time used: 3 minutes

Total disk space used: 58.6 KB

History

  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    8 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    3354 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    1026 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7576 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    8 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    177 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    9 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    17 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    nothing changed in the database
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    70 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Auto ran revision 3a5e3986 and completed successfully .
    137 records added, 137 records removed in the database
    7 pages scraped
  • Manually ran revision 3a5e3986 and completed successfully .
    137 records added in the database
  • Created on morph.io

Scraper code

Ruby

twitter-ireland-donie / scraper.rb