faloi / buscador-alquileres

Buscador de inmuebles para alquilar


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.6.3 -----> Installing dependencies using bundler version 1.17.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Fetching gem metadata from https://rubygems.org/......  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Fetching concurrent-ruby 1.1.6  Fetching thread_safe 0.3.6  Fetching minitest 5.14.1  Installing minitest 5.14.1  Installing thread_safe 0.3.6  Installing concurrent-ruby 1.1.6  Fetching zeitwerk 2.4.0  Using bundler 1.17.2  Fetching coderay 1.1.1  Installing coderay 1.1.1  Installing zeitwerk 2.4.0  Fetching connection_pool 2.2.3  Installing connection_pool 2.2.3  Fetching unf_ext 0.0.7.7  Fetching httpclient 2.6.0.1  Installing unf_ext 0.0.7.7 with native extensions  Installing httpclient 2.6.0.1  Fetching mime-types-data 3.2020.0512  Installing mime-types-data 3.2020.0512  Fetching net-http-digest_auth 1.4.1  Installing net-http-digest_auth 1.4.1  Fetching mini_portile2 2.4.0  Fetching ntlm-http 0.1.1  Installing mini_portile2 2.4.0  Fetching webrobots 0.1.2  Installing webrobots 0.1.2  Fetching method_source 0.8.2  Installing method_source 0.8.2  Fetching slop 3.6.0  Installing slop 3.6.0  Installing ntlm-http 0.1.1  Fetching sqlite3 1.3.10  Fetching tzinfo 1.2.7  Installing sqlite3 1.3.10 with native extensions  Installing tzinfo 1.2.7  Fetching net-http-persistent 4.0.0  Installing net-http-persistent 4.0.0  Fetching i18n 1.8.5  Installing i18n 1.8.5  Fetching mime-types 3.3.1  Installing mime-types 3.3.1  Fetching nokogiri 1.10.10  Installing nokogiri 1.10.10 with native extensions  Fetching pry 0.10.4  Installing pry 0.10.4  Fetching activesupport 6.0.3.2  Installing activesupport 6.0.3.2  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching domain_name 0.5.20190701  Installing domain_name 0.5.20190701  Fetching http-cookie 1.0.3  Installing http-cookie 1.0.3  Fetching sqlite_magic 0.0.3  Installing sqlite_magic 0.0.3  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Fetching mechanize 2.7.6  Installing mechanize 2.7.6  Bundle complete! 7 Gemfile dependencies, 30 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into `./vendor/bundle`  Post-install message from i18n:  HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.  But that may break your application.  If you are upgrading your Rails application from an older version of Rails:  Please check your Rails app for 'config.i18n.fallbacks = true'.  If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be  'config.i18n.fallbacks = [I18n.default_locale]'.  If not, fallbacks will be broken in your app by I18n 1.1.x.  If you are starting a NEW Rails application, you can ignore this notice.  For more info see:  https://github.com/svenfuchs/i18n/releases/tag/v1.1.0  Removing bundler (1.15.2)  Bundle completed (25.28s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/net/protocol.rb:44:in `connect_nonblock': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (certificate has expired) (OpenSSL::SSL::SSLError) from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/net/protocol.rb:44:in `ssl_socket_connect' from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/net/http.rb:996:in `connect' from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/net/http.rb:930:in `do_start' from /app/vendor/ruby-2.6.3/lib/ruby/2.6.0/net/http.rb:925:in `start' from /app/vendor/bundle/ruby/2.6.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent.rb:655:in `start' from /app/vendor/bundle/ruby/2.6.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent.rb:595:in `connection_for' from /app/vendor/bundle/ruby/2.6.0/gems/net-http-persistent-4.0.0/lib/net/http/persistent.rb:885:in `request' from /app/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.6/lib/mechanize/http/agent.rb:280:in `fetch' from /app/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.6/lib/mechanize/http/agent.rb:998:in `response_redirect' from /app/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.6/lib/mechanize/http/agent.rb:321:in `fetch' from /app/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.6/lib/mechanize.rb:464:in `get' from /app/lib/scrapers.rb:15:in `leer_avisos_con_tipo!' from /app/lib/scrapers.rb:11:in `block in leer_avisos!' from /app/lib/scrapers.rb:11:in `each' from /app/lib/scrapers.rb:11:in `flat_map' from /app/lib/scrapers.rb:11:in `leer_avisos!' from scraper.rb:55:in `each' from scraper.rb:55:in `flat_map' from scraper.rb:55:in `<main>'

Data

Downloaded 3 times by faloi

To download data sign in with GitHub

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

rows 10 / 715

id tipo titulo barrio direccion precio url
42410489
ph
Alquiler PH 4 Amb. en Caballito
Caballito
Ramon Falcon 1800-Caballito, Capital Federal
$ 20.000
42443602
departamento
Alquiler 4 Amb en Caballito - Franklin Al 500
Caballito
franklin 564-Caballito, Capital Federal
$ 12.500 + $ 2.500 Expensas
42348914
departamento
Caballito Hermoso 4 Ambientes con Patio Jardin
Caballito
Yerbal 800-Caballito, Capital Federal
$ 16.000 + $ 3.400 Expensas
42362051
departamento
Fray C. Rodriguez Al 0 - Flores - Mb Dto 4 Amb C/dep Serv, Bcones, Baul, 107 m²
Flores
Fray Cayetano Rodriguez 29-Flores, Capital Federal
$ 16.000 + $ 3.200 Expensas
42078141
departamento
Excelente 4 Ambientes, Muy Luminoso, de Categoria, con Balcon. Amenities
Caballito
Bartolome Mitre 3900-Caballito, Capital Federal
$ 24.500 + $ 4.300 Expensas
42327743
departamento
Torres del Sol (Torre 1) - Granaderos 759 - Flores - Capital Federal
Flores
Granaderos -Flores, Capital Federal
$ 16.000 + $ 3.400 Expensas
22151822
departamento
Achaval 300 - Caballito - Capital Federal
Caballito
Caballito, Capital Federal
$ 24.800 + $ 6.700 Expensas
42221255
departamento
Rivadavia Al 6000, 3 Dorm., Al Frente con Balcon
Caballito
RIVADAVIA 6105 6 B-Caballito, Capital Federal
$ 9.900 + $ 3.070 Expensas
42395663
departamento
Dueño Alquila Casa 3 Amb. Parque Chacabuco Asamblea y Av Bonorino
Parque Chacabuco
Asamblea -Parque Chacabuco, Capital Federal
$ 15.000
41817422
departamento
Caballito 4amb Av Acoyte 275 2 "D" Contrafrente. m. B. Ubicación
Caballito
Av. Acoyte 2° "D"-Caballito, Capital Federal
$ 11.000 + $ 3.500 Expensas

Statistics

Average successful run time: 1 minute

Total run time: about 15 hours

Total cpu time used: 18 minutes

Total disk space used: 457 KB

History

  • Auto ran revision 6410985d and failed .
    nothing changed in the database
  • Auto ran revision 6410985d and failed .
    nothing changed in the database
  • Auto ran revision 6410985d and failed .
    nothing changed in the database
  • Auto ran revision 6410985d and failed .
    nothing changed in the database
  • Auto ran revision 6410985d and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

buscador-alquileres / scraper.rb