problemgenerator / sash_windows

Sash windows for sale on renovaterestorerecycle.com.au


Oh hi! This is the code for a scraper that runs daily on Morph.io. It finds all of the sash windows available for sale at https://renovaterestorerecycle.com.au/ and https://www.renovatorsparadise.com.au/, and sends an email (via Sendgrid) to a nominated email address if any new windows are found.

If that sounds incredibly niche and not very interesting, that's because it is!

Contributors problemgenerator

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Scraping renovaterestorerecycle.com.au: Scraping page: https://www.renovaterestorerecycle.com.au/category/sash-windows?post_type=rrr_stock 0 products found. 1 pages scraped. 0 total products found. 0 available product(s) found. Scraping renovatorsparadise.com.au: Finding pages to scrape. /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/net/protocol.rb:44:in `connect_nonblock': SSL_connect returned=1 errno=0 state=unknown state: tlsv1 alert protocol version (OpenSSL::SSL::SSLError) from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/net/protocol.rb:44:in `ssl_socket_connect' from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/net/http.rb:996:in `connect' from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/net/http.rb:930:in `do_start' from /app/vendor/ruby-2.6.2/lib/ruby/2.6.0/net/http.rb:925:in `start' from /app/vendor/bundle/ruby/2.6.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:700:in `start' from /app/vendor/bundle/ruby/2.6.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:631:in `connection_for' from /app/vendor/bundle/ruby/2.6.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:994:in `request' from /app/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.3/lib/mechanize/http/agent.rb:259:in `fetch' from /app/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.3/lib/mechanize.rb:440:in `get' from /app/scrape_rp.rb:13:in `get_products' from scraper.rb:40:in `<main>'

Data

Downloaded 3 times by problemgenerator

To download data sign in with GitHub

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

rows 10 / 294

name description price url
Excellent Deco Sash Window
1235 w x 1235 h
$1,295.00
Toorak Road Sash Window
1205 w x 1200 h
$595.00
Ivanhoe Sash Window
925 w x 1340 h
$990.00
Clear Glass Sash Windows
2 available
$990.00
Spotswood Glass Sash Window
890 w x 1310 h
$950.00
Weatherboard Sash Window
805 w x 1405 h
$990.00
Art Deco Sash Windows
2 available
$1,195.00
Recycled Sash Window
1055 w x 1330 h
$1,050.00
Excellent Wide Sash Window
1265 w x 1150 h
$1,495.00
Neat Sash Window
1070 w x 1070 h
$1,150.00

Statistics

Average successful run time: 1 minute

Total run time: 1 day

Total cpu time used: about 1 hour

Total disk space used: 112 KB

History

  • Auto ran revision 476d08bb and failed .
    nothing changed in the database
  • Auto ran revision 476d08bb and failed .
    nothing changed in the database
  • Auto ran revision 476d08bb and completed successfully .
    nothing changed in the database
  • Auto ran revision 476d08bb and completed successfully .
    nothing changed in the database
  • Auto ran revision 476d08bb and completed successfully .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

sash_windows / scraper.rb