faloi / stock-motog-movistar

Stock del celular Moto G 4G en la tienda Movistar Negocios


This is a scraper that runs on Morph. To get started see the documentation

Contributors faloi

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.0.0 -----> Installing dependencies using bundler 1.13.7  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 https://github.com/openaustralia/scraperwiki-ruby.git  Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.  Installing unf_ext 0.0.7.1 with native extensions  Installing excon 0.45.3  Installing httpclient 2.6.0.1  Installing json 1.8.3 with native extensions  Installing mime-types 2.5  Installing net-http-digest_auth 1.4  Installing net-http-persistent 2.9.4  Installing mini_portile 0.6.2  Installing ntlm-http 0.1.1  Installing webrobots 0.1.1  Installing sqlite3 1.3.10 with native extensions  Using bundler 1.13.7  Installing unf 0.1.4  Installing mandrill-api 1.0.53  Installing nokogiri 1.6.6.2 with native extensions  Installing sqlite_magic 0.0.3  Installing domain_name 0.5.24  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Installing http-cookie 1.0.2  Installing mechanize 2.7.3  Bundle complete! 3 Gemfile dependencies, 20 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (25.22s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... scraper.rb:17:in `check_stock': undefined method `[]' for nil:NilClass (NoMethodError) from scraper.rb:64:in `<main>'

Data

Downloaded 9 times by faloi MikeRalphson

To download data sign in with GitHub

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

rows 10 / 42

timestamp has_stock
2015-07-03T21:11:36+00:00
false
2015-07-04T00:43:37+00:00
false
2015-07-04T17:50:00+00:00
false
2015-07-05T10:37:16+00:00
false
2015-07-05T18:09:18+00:00
false
2015-07-06T01:40:40+00:00
false
2015-07-06T01:49:33+00:00
false
2015-07-06T01:56:12+00:00
false
2015-07-06T02:05:49+00:00
false
2015-07-06T02:12:54+00:00
false

Statistics

Average successful run time: half a minute

Total run time: 23 minutes

Total cpu time used: 1 minute

Total disk space used: 53.2 KB

History

  • Manually ran revision ffad1799 and failed .
    nothing changed in the database
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Manually ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Manually ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Manually ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Manually ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Auto ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Manually ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Manually ran revision ffad1799 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Manually ran revision 19f5faa7 and completed successfully .
    1 record added in the database
    2 pages scraped
  • Manually ran revision 86a58ea6 and failed .
    1 record added in the database
    1 page scraped
  • Manually ran revision d8ad7370 and failed .
    nothing changed in the database
  • Manually ran revision 545a6a8d and failed .
    1 record added in the database
    2 pages scraped
  • Manually ran revision 1401d705 and failed .
    nothing changed in the database
  • Manually ran revision 3fcdc748 and failed .
    1 record added in the database
    74 pages scraped
  • Manually ran revision fc97c0a3 and completed successfully .
    1 record added in the database
    1 page scraped
  • Manually ran revision fc97c0a3 and completed successfully .
    1 record added in the database
    1 page scraped
  • Manually ran revision fc97c0a3 and completed successfully .
    1 record added in the database
    1 page scraped
  • Manually ran revision d2fd89a4 and failed .
    1 record added in the database
    1 page scraped
  • Auto ran revision 1842a5bc and failed .
    nothing changed in the database
  • Manually ran revision 691869df and completed successfully .
    1 record added in the database
    1 page scraped
  • Auto ran revision 691869df and completed successfully .
    1 record added in the database
    1 page scraped
  • Manually ran revision 691869df and completed successfully .
    1 record added in the database
  • Auto ran revision 691869df and completed successfully .
    1 record added in the database
    1 page scraped
  • Manually ran revision 691869df and completed successfully .
    1 record added in the database
    1 page scraped
  • Manually ran revision d19a488e and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision d19a488e and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision d19a488e and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision a6ea8ff3 and completed successfully .
    nothing changed in the database
  • Created on morph.io

Scraper code

Ruby

stock-motog-movistar / scraper.rb