auxesis / united_cinemas_australia

Session times for United Cinemas chain in Australia


Scraper for United Cinemas's session times.

The scraper fetches session times across all United Cinema locations from now until 7 days from now.

This scraper runs on Morph. To get started see Morph's documentation.

Developing

Ensure you have Git, Ruby, and Bundler set up the scraper locally, then run:

git clone https://github.com/auxesis/united_cinemas_australia.git cd united_cinemas_australia bundle install

Set up .env:

cp .env.example .env

To set MORPH_GOOGLE_API_KEY:

Then run the scraper:

bundle exec ruby scraper.rb

Contributors auxesis

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.1 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.15.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.  Fetching gem metadata from https://rubygems.org/......  Fetching version metadata from https://rubygems.org/.  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Fetching i18n 0.7.0  Using json 1.8.3  Fetching minitest 5.8.4  Fetching thread_safe 0.3.5  Installing minitest 5.8.4  Installing i18n 0.7.0  Installing thread_safe 0.3.5  Using bundler 1.15.2  Fetching unf_ext 0.0.7.1  Fetching dotenv 2.1.1  Fetching httpclient 2.6.0.1  Installing dotenv 2.1.1  Fetching mime-types 2.5  Installing httpclient 2.6.0.1  Installing unf_ext 0.0.7.1 with native extensions  Installing mime-types 2.5  Fetching net-http-digest_auth 1.4  Installing net-http-digest_auth 1.4  Fetching net-http-persistent 2.9.4  Fetching mini_portile 0.6.2  Installing net-http-persistent 2.9.4  Fetching ntlm-http 0.1.1  Installing ntlm-http 0.1.1  Fetching webrobots 0.1.1  Installing mini_portile 0.6.2  Installing webrobots 0.1.1  Fetching sqlite3 1.3.10  Fetching timezone 1.2.4  Installing sqlite3 1.3.10 with native extensions  Installing timezone 1.2.4  Fetching tzinfo 1.2.2  Installing tzinfo 1.2.2  Fetching nokogiri 1.6.6.2  Installing nokogiri 1.6.6.2 with native extensions  Fetching activesupport 4.2.6  Installing activesupport 4.2.6  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching domain_name 0.5.24  Installing domain_name 0.5.24  Fetching http-cookie 1.0.2  Installing http-cookie 1.0.2  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 reverse_markdown 1.0.3  Fetching mechanize 2.7.3  Installing reverse_markdown 1.0.3  Installing mechanize 2.7.3  Bundle complete! 7 Gemfile dependencies, 26 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (23.98s)  Cleaning up the bundler cache.  Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.15.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... [debug] Requesting http://www.unitedcinemas.com.au/session-times /app/vendor/bundle/ruby/2.3.0/gems/mechanize-2.7.3/lib/mechanize/http/agent.rb:308:in `fetch': 404 => Net::HTTPNotFound for https://www.unitedcinemas.com.au/session-times -- unhandled response (Mechanize::ResponseCodeError) from /app/vendor/bundle/ruby/2.3.0/gems/mechanize-2.7.3/lib/mechanize/http/agent.rb:976:in `response_redirect' from /app/vendor/bundle/ruby/2.3.0/gems/mechanize-2.7.3/lib/mechanize/http/agent.rb:300:in `fetch' from /app/vendor/bundle/ruby/2.3.0/gems/mechanize-2.7.3/lib/mechanize.rb:440:in `get' from scraper.rb:37:in `get' from scraper.rb:88:in `current_cinema_list' from scraper.rb:154:in `scrape_cinemas' from scraper.rb:177:in `main' from scraper.rb:214:in `<main>'

Data

Downloaded 32 times by auxesis

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (79.2 MB) Use the API

rows 8 / 8

name id link address lat lng timezone information facebook
Avalon
avalon
39 Old Barrenjoey Road, Avalon NSW 2107
-33.636758341628685
151.32882655211483
Australia/Sydney
Featuring two unique screens.
Collaroy
collaroy
1097 Pittwater Road, Collaroy NSW 2097
-33.73285953875816
151.3012110932541
Australia/Sydney
Featuring two screens with an art deco appearance.
Craigieburn
craigieburn
340 Craigieburn Road, Craigieburn VIC 3064
-37.59245510249603
144.91166291691889
Australia/Hobart
This cinema features 8 large screens with all of them featuring Dolby Atmos Sound. Seating capacity of 1,504 patrons in our cinemas. The cinema also features its own restaurant, Artdeco Bar & Kitchen
Eldorado
eldorado
141 Coonan Street, Indooroopilly QLD 4068
-27.50305
152.97495500000002
Australia/Brisbane
Featuring 8 screens and Grand Recliner Seating available in all screens. A seating capacity of 1,168. We recommend experiencing our Grand Recliner only cinemas - Grand 4 and Grand 7.
Katoomba
katoomba
225 Great Western Highway, Katoomba NSW 2780
-33.71002417673822
150.31499878954924
Australia/Sydney
Featuring 4 screens including our large IMAX style screen Cinema 1. A total seating capacity of 748. Three of our screens were recently refurbished.
Narellan
narellan
Camden Valley Way, Narellan NSW 2567
-34.04134747959548
150.73753488573607
Australia/Sydney
Featuring 8 cinema screens, with all screens featuring our Grand Recliner Seating. Total seating capacity of 1,642. We recommend experiencing a movie in our two largest screens, G MAX 2 and G MAX 8.
Rockingham
rockingham
14 Leghorn Street, Rockingham WA 6168
-32.28601930591402
115.74155521230318
Australia/Perth
Featuring 6 screens with all having Grand Recliner Seating available. A total seating capacity of 931.
Warriewood
warriewood
4 Vuko Place, Warriewood NSW 2102
-33.693744
151.30246699999998
Australia/Sydney
Featuring 7 large cinema screens. Our Grand cinema is the largest screen we have.

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (79.2 MB) Use the API

rows 10 / 111122

link time title rating running_time cast synopsis location
2017-01-05T18:55:00+11:00
Hacksaw Ridge
MA15
139
Andrew Garfield, Sam Worthington, Luke Bracey, Teresa Palmer, Hugo Weaving, Rachel Griffiths and Vince Vaughn
HACKSAW RIDGE is the extraordinary true story of Desmond Doss who, in Okinawa at the bloodiest battle of WWII, saved 75 men without carrying a gun.
avalon
2017-01-05T21:30:00+11:00
Paterson
M
118
Adam Driver, Golshifteh Farahani, Helen-Jean Arthur
Set in the present in Paterson, New Jersey, this is a tale about a bus driver and poet.
avalon
2017-01-05T20:55:00+11:00
Rogue One: A Star Wars Story
M
133
Felicity Jones, Mads Mikkelsen, Alan Tudyk, Donnie Yen, Ben Mendelsohn, Forest Whitaker
Rebels set out on a mission to steal the plans for the Death Star.
avalon
2017-01-05T18:45:00+11:00
Sing
G
108
Scarlett Johansson, Taron Egerton, Matthew McConaughey
A koala named Buster recruits his best friend to help him drum up business for his theater by hosting a singing competition.
avalon
2017-01-06T13:50:00+11:00
Fantastic Beasts and Where to Find Them
M
133
Ezra Miller, Eddie Redmayne, Colin Farrell
The adventures of writer Newt Scamander in New York's secret community of witches and wizards seventy years before Harry Potter reads his book in school.
avalon
2017-01-06T18:55:00+11:00
Hacksaw Ridge
MA15
139
Andrew Garfield, Sam Worthington, Luke Bracey, Teresa Palmer, Hugo Weaving, Rachel Griffiths and Vince Vaughn
HACKSAW RIDGE is the extraordinary true story of Desmond Doss who, in Okinawa at the bloodiest battle of WWII, saved 75 men without carrying a gun.
avalon
2017-01-06T16:20:00+11:00
Paterson
M
118
Adam Driver, Golshifteh Farahani, Helen-Jean Arthur
Set in the present in Paterson, New Jersey, this is a tale about a bus driver and poet.
avalon
2017-01-06T21:30:00+11:00
Paterson
M
118
Adam Driver, Golshifteh Farahani, Helen-Jean Arthur
Set in the present in Paterson, New Jersey, this is a tale about a bus driver and poet.
avalon
2017-01-06T16:20:00+11:00
Rogue One: A Star Wars Story
M
133
Felicity Jones, Mads Mikkelsen, Alan Tudyk, Donnie Yen, Ben Mendelsohn, Forest Whitaker
Rebels set out on a mission to steal the plans for the Death Star.
avalon
2017-01-06T20:55:00+11:00
Rogue One: A Star Wars Story
M
133
Felicity Jones, Mads Mikkelsen, Alan Tudyk, Donnie Yen, Ben Mendelsohn, Forest Whitaker
Rebels set out on a mission to steal the plans for the Death Star.
avalon

Statistics

Average successful run time: 1 minute

Total run time: 3 days

Total cpu time used: about 1 hour

Total disk space used: 79.5 MB

History

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

Show complete history