danozgriff / AB_Scaper_1

Miscellaneous


Contributors danozgriff

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling...  -----> Python app detected -----> Installing python-2.7.14 -----> Installing pip -----> Installing requirements with pip  DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.  Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r /tmp/build/requirements.txt (line 6))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to revision morph_defaults) to /app/.heroku/src/scraperwiki  Running command git clone -q http://github.com/openaustralia/scraperwiki-python.git /app/.heroku/src/scraperwiki  Running command git checkout -b morph_defaults --track origin/morph_defaults  Switched to a new branch 'morph_defaults'  Branch morph_defaults set up to track remote branch morph_defaults from origin.  Collecting lxml==3.4.4  Downloading lxml-3.4.4.tar.gz (3.5 MB)  Collecting cssselect==0.9.1  Downloading cssselect-0.9.1.tar.gz (32 kB)  Collecting mechanize==0.2.5  Downloading mechanize-0.2.5.tar.gz (383 kB)  Collecting beautifulsoup4==4.9.1  Downloading beautifulsoup4-4.9.1-py2-none-any.whl (111 kB)  Collecting pytz==2020.1  Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)  Collecting dumptruck>=0.1.2  Downloading dumptruck-0.1.6.tar.gz (15 kB)  Collecting requests  Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB)  Collecting soupsieve<2.0  Downloading soupsieve-1.9.6-py2.py3-none-any.whl (33 kB)  Collecting idna<3,>=2.5; python_version < "3"  Downloading idna-2.10-py2.py3-none-any.whl (58 kB)  Collecting certifi>=2017.4.17  Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)  Collecting chardet<5,>=3.0.2; python_version < "3"  Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)  Collecting urllib3<1.27,>=1.21.1  Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB)  Collecting backports.functools-lru-cache; python_version < "3"  Downloading backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl (5.9 kB)  Building wheels for collected packages: lxml, cssselect, mechanize, dumptruck  Building wheel for lxml (setup.py): started  Building wheel for lxml (setup.py): still running...  Building wheel for lxml (setup.py): finished with status 'done'  Created wheel for lxml: filename=lxml-3.4.4-cp27-cp27mu-linux_x86_64.whl size=2987130 sha256=55a3e0e94e2dee9c79dd7a946f11a8b522118afa2a2829e68ad423cd3d0ea21e  Stored in directory: /tmp/pip-ephem-wheel-cache-viYJAf/wheels/d6/de/81/11ae6edd05c75aac677e67dd154c85da758ba6f3e8e80e962e  Building wheel for cssselect (setup.py): started  Building wheel for cssselect (setup.py): finished with status 'done'  Created wheel for cssselect: filename=cssselect-0.9.1-py2-none-any.whl size=26992 sha256=ff44cb411098aea7b089c244542092f63367826ec2a6da79ae98b312958d3a8f  Stored in directory: /tmp/pip-ephem-wheel-cache-viYJAf/wheels/85/fe/00/b94036d8583cec9791d8cda24c184f2d2ac1397822f7f0e8d4  Building wheel for mechanize (setup.py): started  Building wheel for mechanize (setup.py): finished with status 'done'  Created wheel for mechanize: filename=mechanize-0.2.5-py2-none-any.whl size=150110 sha256=5f7cd2cd72dba5b829bec743630e40d796b4486176f3987d6550e48ff74b18a4  Stored in directory: /tmp/pip-ephem-wheel-cache-viYJAf/wheels/fe/20/00/f8e9ca5a8b8c75eec22f5d63730b66e95be06274f04e9babf6  Building wheel for dumptruck (setup.py): started  Building wheel for dumptruck (setup.py): finished with status 'done'  Created wheel for dumptruck: filename=dumptruck-0.1.6-py2-none-any.whl size=11844 sha256=ed073c7c7cc139b287dc34afaf44168bf441a26c80d97823403af5938eb454d2  Stored in directory: /tmp/pip-ephem-wheel-cache-viYJAf/wheels/dc/75/e9/1e61c4080c73e7bda99614549591f83b53bcc2d682f26fce62  Successfully built lxml cssselect mechanize dumptruck  Installing collected packages: dumptruck, idna, certifi, chardet, urllib3, requests, scraperwiki, lxml, cssselect, mechanize, backports.functools-lru-cache, soupsieve, beautifulsoup4, pytz  Running setup.py develop for scraperwiki  Successfully installed backports.functools-lru-cache-1.6.4 beautifulsoup4-4.9.1 certifi-2021.10.8 chardet-4.0.0 cssselect-0.9.1 dumptruck-0.1.6 idna-2.10 lxml-3.4.4 mechanize-0.2.5 pytz-2020.1 requests-2.27.1 scraperwiki soupsieve-1.9.6 urllib3-1.26.8 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.    -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Traceback (most recent call last): File "scraper.py", line 48, in <module> page = br.open(url) File "/app/.heroku/python/lib/python2.7/site-packages/mechanize/_mechanize.py", line 203, in open return self._mech_open(url, data, timeout=timeout) File "/app/.heroku/python/lib/python2.7/site-packages/mechanize/_mechanize.py", line 255, in _mech_open raise response mechanize._response.httperror_seek_wrapper: HTTP Error 404: Not Found

Data

Downloaded 7 times by danozgriff

To download data sign in with GitHub

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

rows 10 / 135

Start_DateTime End_DateTime Company_EOD_Date
2020-09-15 22:19:47
2020-09-15 22:19:51
2020-09-15
2020-09-17 04:26:48
2020-09-17 04:26:52
2020-09-16
2020-09-17 21:36:12
2020-09-17 21:36:16
2020-09-17
2020-09-18 23:24:09
2020-09-18 23:24:13
2020-09-18
2020-09-19 16:31:14
2020-09-19 16:31:18
2020-09-18
2020-09-20 15:41:51
2020-09-20 15:41:55
2020-09-18
2020-09-22 00:35:27
2020-09-22 00:35:31
2020-09-21
2020-09-23 05:20:11
2020-09-23 05:20:14
2020-09-22
2020-09-24 04:55:33
2020-09-24 04:55:37
2020-09-23
2020-09-24 22:43:26
2020-09-24 22:43:29
2020-09-24

To download data sign in with GitHub

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

rows 10 / 196801

Rank Code Company Price Change Perc_Change Perc_Change_1_Year Market_Cap EOD_Date
1
CSL
CSL Ltd
287.24
4.1
0.0145
0.2468
130660000000
2020-09-15
2
CBA
Commonwealth Bank of Australia
65.03
-1.14
-0.0172
-0.2039
115120000000
2020-09-15
3
BHP
BHP Group Ltd
37.49
0.25
0.0067
-0.0212
110440000000
2020-09-15
4
WBC
Westpac Banking Corporation
16.72
-0.25
-0.0147
-0.434
60390000000
2020-09-15
5
NAB
National Australia Bank Ltd
17.16
-0.24
-0.0138
-0.4109
56460000000
2020-09-15
6
FMG
Fortescue Metals Group Ltd
17.7
-0.01
-0.0006
0.9645
54500000000
2020-09-15
7
WES
Wesfarmers Ltd
45.01
0.09
0.002
0.1453
51030000000
2020-09-15
8
ANZ
Australia and New Zealand Banking Group Ltd
17.35
-0.33
-0.0187
-0.3714
49210000000
2020-09-15
9
WOW
Woolworths Group Ltd
36.34
-0.15
-0.0041
0.0028
45900000000
2020-09-15
10
MQG
Macquarie Group Ltd
118.69
-1.51
-0.0126
-0.083
42910000000
2020-09-15

Statistics

Average successful run time: 4 minutes

Total run time: about 20 hours

Total cpu time used: 16 minutes

Total disk space used: 21.6 MB

History

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

Show complete history

Scraper code

AB_Scaper_1