Update _script_for_gen.py
Browse files- _script_for_gen.py +1 -1
_script_for_gen.py
CHANGED
@@ -103,7 +103,7 @@ def main():
|
|
103 |
|
104 |
repos = g.search_repositories(query="language:python stars:>1000 forks:>100", sort="stars", order="desc")
|
105 |
|
106 |
-
for i, repo in enumerate(repos[
|
107 |
if repo.full_name in existing_data:
|
108 |
existing_item = existing_data[repo.full_name]
|
109 |
if existing_item['repo_commit'] == repo.get_commits()[0].sha:
|
|
|
103 |
|
104 |
repos = g.search_repositories(query="language:python stars:>1000 forks:>100", sort="stars", order="desc")
|
105 |
|
106 |
+
for i, repo in enumerate(repos[:400]):
|
107 |
if repo.full_name in existing_data:
|
108 |
existing_item = existing_data[repo.full_name]
|
109 |
if existing_item['repo_commit'] == repo.get_commits()[0].sha:
|