import requests def get_repos(org_name): repos = [] page = 1 while True: response = requests.get(f'https://api.github.com/orgs/{org_name}/repos?page={page}&per_page=100') data = response.json() if not data: break for repo in data: repos.append(repo['name']) page += 1 return repos # 使用示例 org_name = 'proxmox' repos = get_repos(org_name) for repo in repos: print(repo)