Update 'clone_all.py'

This commit is contained in:
fossilfranv 2023-02-18 23:20:24 +01:00
parent b0cbca8caa
commit f5e35a6312

View File

@ -4,7 +4,7 @@ from git import Repo # must install gitpython module
def main():
# Perform request
token = "25135836368a30b70cbaa4aa56e8a40f04bf6030"
r = requests.get("https://git.franv.site/api/v1/repos/search?limit=80")
r = requests.get("https://git.franv.site/api/v1/repos/search?limit=80") #the 80 is to get all repos (presently 41)
# Loop through each repository returned, cloning it
for repository in r.json()["data"]: