mirror of
https://github.com/HugeFrog24/jailbirdz-dl.git
synced 2026-05-01 00:52:18 +00:00
Smaller pagination so server doesn't choke
This commit is contained in:
@@ -5,7 +5,10 @@
|
|||||||
"Bash(grep '$ref')",
|
"Bash(grep '$ref')",
|
||||||
"Bash(grep -c \"^ ''/\" /c/Users/admin/Desktop/jailbirdz-dl/docs/external/peertube/openapi.yaml)",
|
"Bash(grep -c \"^ ''/\" /c/Users/admin/Desktop/jailbirdz-dl/docs/external/peertube/openapi.yaml)",
|
||||||
"Bash(grep -c ' \"\"/' /c/Users/admin/Desktop/jailbirdz-dl/docs/external/peertube/openapi.json)",
|
"Bash(grep -c ' \"\"/' /c/Users/admin/Desktop/jailbirdz-dl/docs/external/peertube/openapi.json)",
|
||||||
"Bash(grep -c \"^ ''/\" /c/Users/admin/Desktop/jailbirdz-dl/docs/external/peertube/openapi.yaml)"
|
"Bash(grep -c \"^ ''/\" /c/Users/admin/Desktop/jailbirdz-dl/docs/external/peertube/openapi.yaml)",
|
||||||
|
"Bash(git --no-pager diff HEAD~1 docs/external/peertube/openapi.json)",
|
||||||
|
"Bash(git --no-pager show HEAD~1:docs/external/peertube/openapi.json)",
|
||||||
|
"Bash(git --no-pager diff --name-only HEAD~1)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ def get_channel_video_names(base: str, token: str, channel_name: str) -> Counter
|
|||||||
while True:
|
while True:
|
||||||
r = requests.get(
|
r = requests.get(
|
||||||
f"{base}/api/v1/video-channels/{channel_name}/videos",
|
f"{base}/api/v1/video-channels/{channel_name}/videos",
|
||||||
params={"start": start, "count": 100},
|
params={"start": start, "count": 25},
|
||||||
headers=api_headers(token),
|
headers=api_headers(token),
|
||||||
timeout=30,
|
timeout=30,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user