Python script that downloads the releases for a specific repository.
Before using this script, ensure you have the following installed:
- Python 3.x
- Required Python libraries (
requests
,questionary
,wget
). Installable withrequirements.txt
file.
-
Clone the repository or download the Python script.
-
Install the necessary Python libraries if you haven't already:
pip install -r requirements.txt
or
pip install requests questionary wget
-
Run the script:
python repo-downloads.py
-
Upon execution, the script will prompt for the following information:
- GitHub Username: Input the GitHub username of the repo-owner (e.g.,
https://github.com/Sprechender
) - GitHub Repo-name: Input the repository name associated with your GitHub account (e.g.,
https://github.com/Sprechender/py-repo-downloader
)
- GitHub Username: Input the GitHub username of the repo-owner (e.g.,
-
The script will fetch the releases for the provided repository and display them in a list.
-
Select a release (from newest to oldest) that you want to download assets from.
-
Choose the desired assets from the selected release.
-
The assets will be downloaded to a folder named after the GitHub username and repository in the current directory.
- This script relies on the GitHub API. If there are any issues with fetching releases, verify the repository information and your internet connection.
- For any questions, feedback, or issues, feel free to open an issue.