clockfort/GitHub-Backup

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.github.com/user/repos?per_page=100&type=all&page=1

inManage opened this issue · 1 comments

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.github.com/user/repos?per_page=100&type=all&page=1

  • it happens when trying to backup all repos with a python script ..

You now need to include --token=??

First, go to https://github.com/settings/tokens and generate a new token

Next, run the command with --token=TOKEN_YOU_GENERATED