With this script, you will be able to find specific text in a GitHub repository. If find the string in the repository, the file containing the string will be saved in a txt file
Token
: GitHub access token. You can generate an access token by following the steps outlined here.Owner
: Name of the owner of the repository.Repo
: Name of the repository.Text
: Text to be found in the repository.
- Replace the parameter values in the
main.py
script with your own. - Run the script.