Tool for downloading directories from Github repositories.
$ pip install octodir
$ octodir
You will be asked for the following data:
- Full folder url: Direct url to the target folder
- Example:
https://github.com/Jalkhov/octodir/tree/stable/octodir
- Example:
- Output folder: Absolute path of the output directory
- You can enter a dot to download in the current working directory
- API key: Personal Github Token for prevent requests limit
from octodir import Octodir
target = 'https://github.com/Jalkhov/Octodir/tree/stable/octodir'
folder = '.' # Current working directory
api_key = '<PERSONAL_GITHUB_TOKEN>'
Octo = Octodir(target, folder, api_key=api_key)
Octo.dowload_folder()