everypolitician-scrapers / twitter-ireland-list

Wee scraper pulling twitter handles of Irish TDs from Elaine Byrne's list

Scrapes api.twitter.com


Irish politicians twitter scraper

This wee scraper runs through a twitter List of Irish politicians (from Elaine Byrne's excellent public list) for the EveryPolitician project.

Intended to run on morph.io.

Contributors davewhiteland

Last run completed successfully .

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  Installing buftok 0.2.0  Installing coderay 1.1.1  Installing addressable 2.4.0  Installing unf_ext 0.0.7.2 with native extensions  Installing dotenv 2.1.1  Installing equalizer 0.0.10  Installing multipart-post 2.0.0  Installing http-form_data 1.0.1  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 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 domain_name 0.5.20160615  Installing http-cookie 1.0.2  Installing http 1.0.4  Installing sqlite_magic 0.0.6  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Installing twitter 5.16.0  Bundle complete! 4 Gemfile dependencies, 28 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (34.10s)  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...

Data

Downloaded 6 times by davewhiteland

To download data sign in with GitHub

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

rows 10 / 242

id name twitter guess_type image
3781736841
Terry Leyden
SenatorTerry
senator
3145278147
Keith Swanick
DrKeithSwanick
?
3012148462
Lynn Ruane
SenLynnRuane
senator
2938946759
Removed
removedireland
?
2805902511
Michael McGrath
DeputyMcGrathTD
td
2791515085
Tony McLoughlin
TonyMcLTD
td
2776653327
MichaelFitzMauriceTD
FitzForDail
td
2529641024
Ruth Coppinger
RuthCoppingerTD
td
2476878848
Gabrielle McFadden
gabmcfadden
?
2474164435
John Dolan
SenatorJDolan
senator

Statistics

Average successful run time: less than a minute

Total run time: about 2 hours

Total cpu time used: 4 minutes

Total disk space used: 77.2 KB

History

  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    44 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran and failed .
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    85 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    16 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    2281 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    50 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    12 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    14 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    14 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    16 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    14 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    nothing changed in the database
    14 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Auto ran revision d06219b9 and completed successfully .
    242 records added, 242 records removed in the database
    13 pages scraped
  • Manually ran revision d06219b9 and completed successfully .
    242 records added in the database
  • Manually ran revision a999e38e and completed successfully .
    242 records added in the database
  • Manually ran revision a999e38e and failed .
    nothing changed in the database
  • Created on morph.io

Scraper code

Ruby

twitter-ireland-list / scraper.rb