NadiaK98 / GitHub-Tracker

Github Repo Tracker for the UKDS


GitHub-Tracker

Github Repo Tracker for the UKDS

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling...  -----> Python app detected -----> Installing python-3.6.2 -----> Installing pip -----> Installing requirements with pip  Collecting PyGithub  Downloading PyGithub-1.55-py3-none-any.whl (291 kB)  Collecting pyjwt>=2.0  Downloading PyJWT-2.4.0-py3-none-any.whl (18 kB)  Collecting pynacl>=1.4.0  Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)  Collecting requests>=2.14.0  Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB)  Collecting deprecated  Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)  Collecting cffi>=1.4.1  Downloading cffi-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (405 kB)  Collecting idna<4,>=2.5  Downloading idna-3.3-py3-none-any.whl (61 kB)  Collecting charset-normalizer~=2.0.0  Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)  Collecting urllib3<1.27,>=1.21.1  Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB)  Collecting certifi>=2017.4.17  Downloading certifi-2022.6.15-py3-none-any.whl (160 kB)  Collecting wrapt<2,>=1.10  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)  Collecting pycparser  Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)  Installing collected packages: pycparser, wrapt, urllib3, idna, charset-normalizer, cffi, certifi, requests, pynacl, pyjwt, deprecated, PyGithub  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   -----> Discovering process types  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"}

Statistics

Total run time: 16 minutes

Total cpu time used: less than 20 seconds

Total disk space used: 79 KB

History

  • Manually ran revision 02a6030f and failed .
  • Manually ran revision 02a6030f and failed .
  • Manually ran revision 02a6030f and failed .
  • Manually ran revision 02a6030f and failed .
  • Manually ran revision 02a6030f and failed .
  • ...
  • Created on morph.io

Show complete history

Scraper code

Python

GitHub-Tracker / scraper.py