RedFoxBot / ukrlp_1

UKRLP


ScraperWiki PHP libraries

This directory contains miscellaneous PHP libraries which ScraperWiki Classic used, and which aren't packaged in PECL or PEAR. It's checked out and added to the include_path on new ScraperWiki.

You can just use it like this:

php require 'simple_html_dom.php' require 'excel_reader2.php'

The symlinks, for example to simple_html_dom.php, in scraperwiki/ are for backwards compatibility with ScraperWiki Classic scrapers.

API reference:

scraperwiki::scrape($url)

Scrape a given $url and return the response content as a string.

scraperwiki::savesqlite($uniquekeys, $data, [$table_name])

Save data into a SQLite database (created automatically in the background).

$unique_keys (required) should be an array() of one or more column names.

$data (required) should either be a single row to save (as an array() of strings and/or numbers), or a list of multiple rows to save in one go (as an array() of array()s)

$table_name is optional. If unspecified, the default of "swdata" will be used. You can pass any string you like here to save your data into a new table name.

scraperwiki:save_var($name, $value)

Save a given variable $name with a given $value to the datastore.

scraperwiki:get_var($name, [$default])

Retrieve a given variable $name from the datastore.

If you pass an optional $default value, this will be returned in the case that the given variable $name could not be found in the datastore.

Forked from ScraperWiki

Contributors RedFoxBot

Last run completed successfully .

Console output of last run

Morph internal error: read timeout reached Stopping current container and requeueing

Data

Downloaded 6 times by ianfromnotts scottbw JoeIngledew drinkingteddy

To download data sign in with GitHub

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

rows 10 / 43958

id num name trading legal_address legal_phone legal_fax legal_email legal_web primary_address primary_phone primary_fax primary_email primary_web primary_courses
1
10000000
ASSESSMENT AND CONSTRUCTION TRAINING LIMITED
15 Palace Street, Norwich, NR3 1RT
01362 821040
Mr Steve Welton, Director, Chiltern House Church Street, Bradenham, Thetford, Norfolk, IP25 7QL
01362 821040
2
10000001
THE CAMDEN SCHOOL FOR GIRLS
Sandall Road, London, NW5 2DB
020 7485 3414
020 7284 3361
Mrs Elizabeth Kitcatt, Headteacher, Sandall Road, London, NW5 2DB
020 7485 3414
020 7284 3361
csg@camdengirls.camden.sch.uk
3
10000002
THE CARDINAL VAUGHAN MEMORIAL RC SCHOOL
89 Addison Road, London, W14 8BZ
020 7603 8478
Mr Paul Stubbings, Headteacher, 89 Addison Road, London, W14 8BZ
020 7603 8478
4
10000003
ESSEX, SOUTHEND & THURROCK CONNEXIONS LIMITED
The Matchyns London Road, Rivenhall, Witham, Essex, CM8 3HA
01376 391300
01376 533061
Alistair Mcgarry, Chief Executive, The Matchyns London Road, Rivenhall, Witham, Essex, CM8 3HA
01376 391300
01376 533061
5
10000004
THE ROYAL ASSOCIATION FOR DISABILITY RIGHTS
Unit 12, City Forum 250 City Road, London, EC1V 8AF
020 7250 3222
Mr Ron Corbett, Director of Consultancy, Unit 12, City Forum 250 City Road, London, EC1V 8AF
020 7250 3222
radar@radar.org.uk
6
10000005
BUPA CARE HOMES (CFHCARE) LIMITED
Bridge House Outwood Lane, Horsforth, Leeds, LS18 4UP
01706 861334
Miss Dee Elston, NVQ Administrator, 23 Ivor Street, Rochdale, Lancashire, OL11 3JA
01706 717160 or 01706 717100
01706 631118
elstond@bupa.com
7
10000006
1.2.3 SOLEIL LIMITED
2 Mountview Court 310 Friern Barnet Lane, Whetstone, London, N20 0YZ
0845 085 0048
0845 280 2835
Gino Armandine, PO Box 33380, London, NW11 7WG
0845 085 0048
0845 280 2835
gino@123-soleil.co.uk
8
10000007
11 TECH 18
19a Hendon Rise, Carlton, Nottingham, NG3 3AN
0115 940 8566
0115 929 3315
175 Gregory Boulevard, Nottingham, NG7 5JH
0115 940 8566
0115 929 3315
9
10000008
THE ARTEMIS TEAM LIMITED
Oakridge Chambers 1-3 Oakridge Road, Bromley, BR1 5QW
020 8461 4614
Mr Lee Morrison, Managing Director, Oakridge Chambers 1-3 Oakridge Road, Bromley, BR1 5QW
020 8461 4614
support@theartemisteam.com
10
10000009
1ST CHOICE TRAINING CONSULTANTS LIMITED
Flat 62, Wesley Court Woodcroft Close, Cradley Heath, West Midlands, B64 6LH
02476 631398
Judy Marsden, General Manager, 48 Queens Road, Coventry, CV1 3EH
02476 631398
info@1stchoicetraining.com

To download data sign in with GitHub

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

rows 1 / 1

id name value_blob type
130743
counter
10130739
integer

Statistics

Average successful run time: 33 minutes

Total run time: about 2 hours

Total cpu time used: 2 minutes

Total disk space used: 12.8 MB

History

  • Manually ran revision 74a2a567 and completed successfully .
  • Manually ran revision 8f108cb9 and completed successfully .
  • Manually ran revision c702bccf and failed .
  • Manually ran revision 3418218e and failed .
  • Manually ran revision 8477c175 and failed .
  • Manually ran revision 43982962 and failed .
  • Manually ran revision 0ab801a5 and failed .
  • Manually ran revision f683025c and failed .
  • Manually ran revision 9fa2d470 and failed .
  • Manually ran revision ff9133e7 and failed .
  • Manually ran revision e5c16648 and failed .
  • Manually ran revision c87c4eb1 and failed .
  • Manually ran revision def6d57e and failed .
  • Manually ran revision fb172426 and completed successfully .
  • Manually ran revision f39e8e20 and failed .
  • Manually ran revision e4123492 and completed successfully .
  • Manually ran revision 769391e8 and failed .
  • Manually ran revision ab07c8ef and failed .
  • Manually ran revision 012ad89c and failed .
  • Manually ran revision 9417206f and failed .
  • Manually ran revision b41343c9 and failed .
  • Forked from ScraperWiki

Scraper code

PHP

ukrlp_1 / scraper.php