blimpage / 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 blimpage

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... [1G [1G-----> Ruby app detected [1G-----> Compiling Ruby/Rack [1G-----> Using Ruby version: ruby-2.6.2 [1G-----> Installing dependencies using bundler version 1.17.2 [1G Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment [1G Fetching gem metadata from https://rubygems.org/........... [1G Fetching https://github.com/openaustralia/scraperwiki-ruby.git [1G Using bundler 1.17.2 [1G Fetching unf_ext 0.0.7.1 [1G Fetching httpclient 2.6.0.1 [1G Fetching mime-types 2.5 [1G Installing unf_ext 0.0.7.1 with native extensions [1G Installing httpclient 2.6.0.1 [1G Installing mime-types 2.5 [1G Fetching net-http-digest_auth 1.4 [1G Fetching net-http-persistent 2.9.4 [1G Installing net-http-digest_auth 1.4 [1G Installing net-http-persistent 2.9.4 [1G Fetching mini_portile2 2.4.0 [1G Fetching ntlm-http 0.1.1 [1G Installing mini_portile2 2.4.0 [1G Installing ntlm-http 0.1.1 [1G Fetching webrobots 0.1.1 [1G Installing webrobots 0.1.1 [1G Fetching mustermann 1.0.3 [1G Fetching rack 2.0.7 [1G Installing mustermann 1.0.3 [1G Fetching ruby_http_client 3.3.0 [1G Installing ruby_http_client 3.3.0 [1G Installing rack 2.0.7 [1G Fetching sqlite3 1.3.10 [1G Installing sqlite3 1.3.10 with native extensions [1G Fetching tilt 2.0.9 [1G Installing tilt 2.0.9 [1G Fetching nokogiri 1.10.8 [1G Installing nokogiri 1.10.8 with native extensions [1G Fetching rack-protection 2.0.5 [1G Installing rack-protection 2.0.5 [1G Fetching unf 0.1.4 [1G Installing unf 0.1.4 [1G Fetching sinatra 2.0.5 [1G Installing sinatra 2.0.5 [1G Fetching domain_name 0.5.24 [1G Installing domain_name 0.5.24 [1G Fetching sendgrid-ruby 5.3.0 [1G Installing sendgrid-ruby 5.3.0 [1G Fetching http-cookie 1.0.2 [1G Installing http-cookie 1.0.2 [1G Fetching sqlite_magic 0.0.3 [1G Installing sqlite_magic 0.0.3 [1G Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176) [1G Fetching mechanize 2.7.3 [1G Installing mechanize 2.7.3 [1G Bundle complete! 3 Gemfile dependencies, 24 gems now installed. [1G Gems in the groups development and test were not installed. [1G Bundled gems are installed into `./vendor/bundle` [1G Removing bundler (1.15.2) [1G Bundle completed (26.27s) [1G Cleaning up the bundler cache. [1G-----> Detecting rake tasks [1G [1G [1G-----> Discovering process types [1G Procfile declares types -> scraper Injecting scraper and running... Scraping renovaterestorerecycle.com.au: /app/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.3/lib/mechanize/http/agent.rb:308:in `fetch': 404 => Net::HTTPNotFound for https://www.renovaterestorerecycle.com.au/category/sash-windows/?post_type=rrr_stock -- unhandled response (Mechanize::ResponseCodeError) from /app/vendor/bundle/ruby/2.6.0/gems/mechanize-2.7.3/lib/mechanize.rb:440:in `get' from /app/scrape_rrr.rb:14:in `get_products' from scraper.rb:39:in `<main>'

Data

Downloaded 2 times by blimpage

To download data sign in with GitHub

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

rows 10 / 514

name description price url
Pair of Victorian Single Sash Windows.
1185 wide x 2060 high.
$1090
Pair of Victorian Sidelight Sash Windows.
2 @ 2220 wide x 2145 high. Both centre sashes + smaller sidelight sashes open + close on each window. All the architrave ( internal + external sides ) is also included.
$3500
Obscure Etched Glass Single Sash Window.
1110 wide x 1935 high.
$490
House Lot of 3 Single Sash Windows.
3 @ 930 wide x 2145 high.
$690 each
Victorian Federation Single Sash Window.
900 wide x 1340 high.
$290
Sandblasted Obscure Glass Single Sash Window.
1025 wide x 1510 high.
$490
8 Light Colonial Single Sash Window.
1040 wide x 1550 high.
$240
Colonial Single Sash Window with Opening Fanlight.
995 wide x 2440 high.
$1250
Cricket Bat Victorian Single Sash Window.
1110 wide x 1995 high.
$550
4 Light Colonial Single Sash Window.
1100 wide x 1400 high.
$240

Statistics

Average successful run time: 2 minutes

Total run time: 1 day

Total cpu time used: 30 minutes

Total disk space used: 199 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 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
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

sash_windows / scraper.rb