Created
September 20, 2021 13:42
-
-
Save JoaoCarabetta/9a7f0d4670698e2cc4240babce066d5b to your computer and use it in GitHub Desktop.
All unique GitHub repos that contains a string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from github import Github | |
from time import sleep | |
g = Github(token) | |
search_str = 'basedosdados' | |
repo = [] | |
for i in g.search_code(search_str): | |
sleep(0.2) | |
repo.append(i) | |
set(['github.com/' + r.repository.full_name for r in repo]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment