-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it work for private repos? #5
Comments
I have not tested this on private repos. But I think we would have to pass the credentials (username and password) with the requests in order for you to access the private repo. I will try find a way to make a way to let users login if it a private repo :) |
@sdelquin Do you know how to login to GitHub with Python? Im not able to do it for some reason. |
Not really :/ |
@sdelquin I dont think private repos will work. Also, I dont plan to support private repos. 😿 |
You can login to GitHub using the python GitHub API https://github.com/PyGithub/PyGithub |
@SelfhostedPro Very interesting! I will have to take a look at the documentation to see it is able to get files from a branch or get the files of folder in a the given repo |
This is something we have to be aware of: https://developer.github.com/changes/2020-02-14-deprecating-password-auth/ |
PyGithub enables you to use Access tokens so you don't need to worry about that deprecation. |
I have access to my students's private repos, and i usually need to download specific folders of their repos. This tool seems great, but it apparently does not work with private repos (i do have access though).
The text was updated successfully, but these errors were encountered: