Turkish politicians twitter-list scraper

This wee scraper runs through a twitter List of Turkish politicians for the EveryPolitician project.

Intended to run on morph.io.

Contributors octopusinvitro

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.3.4 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  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  Fetching addressable 2.4.0  Fetching buftok 0.2.0  Using bundler 1.15.2  Fetching unf_ext 0.0.7.2  Installing buftok 0.2.0  Fetching equalizer 0.0.10  Installing addressable 2.4.0  Installing equalizer 0.0.10  Fetching multipart-post 2.0.0  Installing unf_ext 0.0.7.2 with native extensions  Fetching http-form_data 1.0.1  Installing http-form_data 1.0.1  Installing multipart-post 2.0.0  Fetching http_parser.rb 0.6.0  Fetching httpclient 2.8.0  Installing http_parser.rb 0.6.0 with native extensions  Installing httpclient 2.8.0  Using json 1.8.3  Fetching thread_safe 0.3.5  Installing thread_safe 0.3.5  Fetching naught 1.1.0  Installing naught 1.1.0  Fetching sqlite3 1.3.11  Installing sqlite3 1.3.11 with native extensions  Fetching simple_oauth 0.3.1  Installing simple_oauth 0.3.1  Fetching faraday 0.9.2  Installing faraday 0.9.2  Fetching memoizable 0.4.2  Installing memoizable 0.4.2  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching domain_name 0.5.20160615  Installing domain_name 0.5.20160615  Fetching http-cookie 1.0.2  Installing http-cookie 1.0.2  Fetching http 1.0.4  Installing http 1.0.4  Fetching twitter 5.16.0  Installing twitter 5.16.0  Using twitter_list 0.0.2 from https://github.com/everypolitician/twitter_list.git (at master@06ec0b4)  Fetching sqlite_magic 0.0.6  Installing sqlite_magic 0.0.6  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Bundle complete! 2 Gemfile dependencies, 24 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (20.35s)  Cleaning up the bundler cache. -----> Detecting rake tasks   ###### WARNING:  You have not declared a Ruby version in your Gemfile.  To set your Ruby version add this line to your Gemfile:  ruby '2.3.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.3.0/gems/twitter-5.16.0/lib/twitter/rest/response/raise_error.rb:15:in `on_complete': Invalid or expired token. (Twitter::Error::Unauthorized) from /app/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb:9:in `block in call' from /app/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb:57:in `on_complete' from /app/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/response.rb:8:in `call' from /app/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call' from /app/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/request/multipart.rb:14:in `call' from /app/vendor/bundle/ruby/2.3.0/gems/twitter-5.16.0/lib/twitter/rest/request/multipart_with_file.rb:19:in `call' from /app/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response' from /app/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request' from /app/vendor/bundle/ruby/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:140:in `get' from /app/vendor/bundle/ruby/2.3.0/gems/twitter-5.16.0/lib/twitter/rest/request.rb:33:in `perform' from /app/vendor/bundle/ruby/2.3.0/gems/twitter-5.16.0/lib/twitter/cursor.rb:29:in `initialize' from /app/vendor/bundle/ruby/2.3.0/gems/twitter-5.16.0/lib/twitter/rest/utils.rb:107:in `new' from /app/vendor/bundle/ruby/2.3.0/gems/twitter-5.16.0/lib/twitter/rest/utils.rb:107:in `perform_get_with_cursor' from /app/vendor/bundle/ruby/2.3.0/gems/twitter-5.16.0/lib/twitter/rest/lists.rb:430:in `cursor_from_response_with_list' from /app/vendor/bundle/ruby/2.3.0/gems/twitter-5.16.0/lib/twitter/rest/lists.rb:248:in `list_members' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/twitter_list-06ec0b4521a9/lib/twitter_list/scraper.rb:20:in `people' from scraper.rb:9:in `<main>'

Data

Downloaded 3 times by drupaltr octopusinvitro

To download data sign in with GitHub

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

rows 10 / 164

Statistics

Average successful run time: less than a minute

Total run time: about 16 hours

Total cpu time used: 13 minutes

Total disk space used: 53.1 KB

History

  • Auto ran revision b0d754ff and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision b0d754ff and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision b0d754ff and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision b0d754ff and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision b0d754ff and failed .
    nothing changed in the database
    1 page scraped
  • ...
  • Created on morph.io

Show complete history