clockfort / GitHub-Backup

Backup all the repositories of a github user or organization automatically.
Creative Commons Zero v1.0 Universal
359 stars 103 forks source link

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

Closed inManage closed 5 years ago

inManage commented 6 years ago

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

gkoberger commented 6 years ago

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