Most of the time GitHub requires a token to perform searches. You can create a https://10degres.net/github-tools-collection/ Feel free to open an issue if you have any problem with the script.
git clone https://github.com/gwen001/github-search
cd github-search
pip3 install -r requirements.txt
.tokens
file in the cloned repo directory with 1 token per line
OR
You can configure an environment variable (recommended) like this: GIHTHUB_TOKEN=token1,token2,...