We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b78b9 commit ce9217cCopy full SHA for ce9217c
crawler.py
@@ -33,10 +33,12 @@
33
# Set for repos that have already been added to the list
34
repo_set = set()
35
36
+ # Iterate over topics, search for matching repositories, and process unique ones
37
for topic in topics:
38
search_string = "org:{} topic:{}".format(organization, topic)
39
all_repos = gh.search_repositories(search_string)
40
41
+ # For each repo in the search results, check if it's unique and add it to repo_set
42
for repo in all_repos:
43
if repo is not None and repo.repository.full_name not in repo_set:
44
repo_set.add(repo.repository.full_name)
0 commit comments