Injecting configuration and compiling...
[1G [1G-----> Python app detected
[1G-----> Installing python-2.7.14
[1G-----> Installing pip
[1G-----> Installing requirements with pip
[1G 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.
[1G Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r /tmp/build/requirements.txt (line 6))
[1G Cloning http://github.com/openaustralia/scraperwiki-python.git (to revision morph_defaults) to /app/.heroku/src/scraperwiki
[1G Running command git clone -q http://github.com/openaustralia/scraperwiki-python.git /app/.heroku/src/scraperwiki
[1G Running command git checkout -b morph_defaults --track origin/morph_defaults
[1G Switched to a new branch 'morph_defaults'
[1G Branch morph_defaults set up to track remote branch morph_defaults from origin.
[1G Collecting lxml
[1G Downloading lxml-4.8.0-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl (5.5 MB)
[1G Collecting cssselect
[1G Downloading cssselect-1.1.0-py2.py3-none-any.whl (16 kB)
[1G Collecting requests
[1G Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB)
[1G Collecting pandas
[1G Downloading pandas-0.24.2-cp27-cp27mu-manylinux1_x86_64.whl (10.1 MB)
[1G Collecting dumptruck>=0.1.2
[1G Downloading dumptruck-0.1.6.tar.gz (15 kB)
[1G Collecting idna<3,>=2.5; python_version < "3"
[1G Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
[1G Collecting certifi>=2017.4.17
[1G Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
[1G Collecting chardet<5,>=3.0.2; python_version < "3"
[1G Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
[1G Collecting urllib3<1.27,>=1.21.1
[1G Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
[1G Collecting numpy>=1.12.0
[1G Downloading numpy-1.16.6-cp27-cp27mu-manylinux1_x86_64.whl (17.0 MB)
[1G Collecting pytz>=2011k
[1G Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB)
[1G Collecting python-dateutil>=2.5.0
[1G Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
[1G Collecting six>=1.5
[1G Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
[1G Building wheels for collected packages: dumptruck
[1G Building wheel for dumptruck (setup.py): started
[1G Building wheel for dumptruck (setup.py): finished with status 'done'
[1G Created wheel for dumptruck: filename=dumptruck-0.1.6-py2-none-any.whl size=11844 sha256=1b5320a588f078c0854beadd363ec18e406e3c5ad20d7c29130970107720c7e9
[1G Stored in directory: /tmp/pip-ephem-wheel-cache-oQSpHK/wheels/dc/75/e9/1e61c4080c73e7bda99614549591f83b53bcc2d682f26fce62
[1G Successfully built dumptruck
[1G Installing collected packages: dumptruck, idna, certifi, chardet, urllib3, requests, scraperwiki, lxml, cssselect, numpy, pytz, six, python-dateutil, pandas
[1G Running setup.py develop for scraperwiki
[1G Successfully installed certifi-2021.10.8 chardet-4.0.0 cssselect-1.1.0 dumptruck-0.1.6 idna-2.10 lxml-4.8.0 numpy-1.16.6 pandas-0.24.2 python-dateutil-2.8.2 pytz-2022.1 requests-2.27.1 scraperwiki six-1.16.0 urllib3-1.26.9
[91mDEPRECATION: 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.
[0m
[1G
[1G [1G-----> Discovering process types
[1G Procfile declares types -> scraper
Injecting scraper and running...
Traceback (most recent call last):
File "scraper.py", line 8, in <module>
df = pd.read_json(url)
File "/app/.heroku/python/lib/python2.7/site-packages/pandas/io/json/json.py", line 413, in read_json
path_or_buf, encoding=encoding, compression=compression,
File "/app/.heroku/python/lib/python2.7/site-packages/pandas/io/common.py", line 202, in get_filepath_or_buffer
req = _urlopen(filepath_or_buffer)
File "/app/.heroku/python/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/app/.heroku/python/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/app/.heroku/python/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/app/.heroku/python/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/app/.heroku/python/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/app/.heroku/python/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden