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

Contributors bethanjhn

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... <html> <head> <title>Scrape this table of best selling albums</title> </head> <body> <h1>Scrape this table of best selling albums</h1> <table class="data"> <thead><tr class="tableizer-firstrow"><th>Artist</th><th>Album</th><th>Released</th><th>Empty column</th><th>Sales m</th></tr></thead><tbody> <tr><td>Michael Jackson</td><td>Thriller</td><td>1982</td><td>&nbsp;</td><td>110</td></tr> <tr><td>AC/DC</td><td>Back in Black</td><td>1980</td><td>&nbsp;</td><td>49</td></tr> <tr><td>Pink Floyd</td><td>The Dark Side of the Moon</td><td>1973</td><td>&nbsp;</td><td>45</td></tr> <tr><td>Whitney Houston / Various artists</td><td>The Bodyguard</td><td>1992</td><td>&nbsp;</td><td>44</td></tr> <tr><td>Meat Loaf </td><td>Bat Out of Hell</td><td>1977</td><td>&nbsp;</td><td>43</td></tr> <tr><td>Eagles</td><td>Their Greatest Hits (1971â€"1975)</td><td>1976</td><td>&nbsp;</td><td>42</td></tr> </tbody></table> <p> <a class="next" href="/scraping-for-everyone/webpages/example_table_2.html">next page</a> </p> </body> </html> Traceback (most recent call last): File "scraper.py", line 49, in <module> scrape_and_look_for_next_link(starting_url) {'Sales m': '110', 'Artist': 'Michael Jackson', 'Released': '1982', 'Album': 'Thriller'} ------------ File "scraper.py", line 34, in scrape_and_look_for_next_link scrape_table(root) File "scraper.py", line 26, in scrape_table scraperwiki.datastore.save(["Artist"], record) AttributeError: 'module' object has no attribute 'datastore'

Data

Downloaded 1 time by bethanjhn

To download data sign in with GitHub

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

rows 10 / 80

td
Date
Hospital
Region
Trolley Total
Ward Total
Beaumont Hospital
Children's University Hospital, Temple Street
Connolly Hospital, Blanchardstown
8
14

Statistics

Average successful run time: less than 5 seconds

Total run time: half a minute

Total cpu time used: less than 5 seconds

Total disk space used: 33 KB

History

  • Manually ran revision e3c8718c and failed .
    nothing changed in the database
  • Manually ran revision e3c8718c and failed .
    nothing changed in the database
  • Manually ran revision e3c8718c and failed .
    nothing changed in the database
  • Manually ran revision 6565987d and completed successfully .
    80 records added in the database
  • Created on morph.io

Scraper code

Python

testing / scraper.py