mirror of
https://github.com/HugeFrog24/jailbirdz-dl.git
synced 2026-05-01 00:52:18 +00:00
Compare commits
2 Commits
b02b89c8ca
...
550de845c1
| Author | SHA1 | Date | |
|---|---|---|---|
| 550de845c1 | |||
| bb5a7e1bc3 |
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"allow": [
|
||||||
|
"Bash(jq -r \".\"\"/api/v1/video-channels/{channelHandle}/videos\"\".get.parameters[] | $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.json)",
|
||||||
|
"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)"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
alwaysApply: true
|
|
||||||
always_on: true
|
|
||||||
trigger: always_on
|
|
||||||
applyTo: "**"
|
|
||||||
description: Snyk Security At Inception
|
|
||||||
---
|
|
||||||
|
|
||||||
# Project security best practices
|
|
||||||
|
|
||||||
- Always run snyk_code_scan tool for new first party code that is generated in a Snyk-supported language.
|
|
||||||
- If any security issues are found based on newly introduced or modified code or dependencies, attempt to fix the issues using the results context from Snyk.
|
|
||||||
- Rescan the code after fixing the issues to ensure that the issues were fixed and that there are no newly introduced issues.
|
|
||||||
- Repeat this process until no new issues are found.
|
|
||||||
Vendored
+1399
-844
File diff suppressed because one or more lines are too long
@@ -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,
|
||||||
)
|
)
|
||||||
|
|||||||
+49
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user