Injecting configuration and compiling...
[1G [1G-----> Python app detected
[1G-----> Installing python-3.6.2
[1G-----> Installing pip
[1G-----> Installing requirements with pip
[1G Collecting PyGithub
[1G Downloading PyGithub-1.55-py3-none-any.whl (291 kB)
[1G Collecting pyjwt>=2.0
[1G Downloading PyJWT-2.4.0-py3-none-any.whl (18 kB)
[1G Collecting pynacl>=1.4.0
[1G Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
[1G Collecting requests>=2.14.0
[1G Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB)
[1G Collecting deprecated
[1G Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
[1G Collecting cffi>=1.4.1
[1G Downloading cffi-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (405 kB)
[1G Collecting idna<4,>=2.5
[1G Downloading idna-3.3-py3-none-any.whl (61 kB)
[1G Collecting charset-normalizer~=2.0.0
[1G Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
[1G Collecting urllib3<1.27,>=1.21.1
[1G Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
[1G Collecting certifi>=2017.4.17
[1G Downloading certifi-2022.6.15-py3-none-any.whl (160 kB)
[1G Collecting wrapt<2,>=1.10
[1G Downloading wrapt-1.14.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (74 kB)
[1G Collecting pycparser
[1G Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
[1G Installing collected packages: pycparser, wrapt, urllib3, idna, charset-normalizer, cffi, certifi, requests, pynacl, pyjwt, deprecated, PyGithub
[1G Successfully installed PyGithub-1.55 certifi-2022.6.15 cffi-1.15.0 charset-normalizer-2.0.12 deprecated-1.2.13 idna-3.3 pycparser-2.21 pyjwt-2.4.0 pynacl-1.5.0 requests-2.27.1 urllib3-1.26.9 wrapt-1.14.1
[1G
[1G [1G-----> Discovering process types
[1G Procfile declares types -> scraper
Injecting scraper and running...
Traceback (most recent call last):
File "scraper.py", line 39, in <module>
repo = g.get_repo("UKDataServiceOpen/Crime_Data_in_R")
File "/app/.heroku/python/lib/python3.6/site-packages/github/MainClass.py", line 330, in get_repo
headers, data = self.__requester.requestJsonAndCheck("GET", url)
File "/app/.heroku/python/lib/python3.6/site-packages/github/Requester.py", line 355, in requestJsonAndCheck
verb, url, parameters, headers, input, self.__customConnection(url)
File "/app/.heroku/python/lib/python3.6/site-packages/github/Requester.py", line 378, in __check
raise self.__createException(status, responseHeaders, output)
github.GithubException.BadCredentialsException: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest"}