fix media workflows and download organization

This commit is contained in:
ShukeBta
2026-06-26 08:42:16 +08:00
parent 0da96f7e4e
commit 65adca04df
102 changed files with 4063 additions and 437 deletions
+3 -3
View File
@@ -180,10 +180,10 @@ func TestBuildRequestAPIKeyHeaderBySite(t *testing.T) {
}
}
func TestMTeamPublishedAPIRateLimits(t *testing.T) {
func TestMTeamAPIRateLimits(t *testing.T) {
search := mteamAPIRateLimits(mteamAPIEndpointSearch)
if len(search) != 1 || search[0].Limit != 1000 || search[0].Window != 24*time.Hour {
t.Fatalf("search limits = %#v, want 1000/24h", search)
if len(search) != 1 || search[0].Limit != 1500 || search[0].Window != 24*time.Hour {
t.Fatalf("search limits = %#v, want 1500/24h", search)
}
detail := mteamAPIRateLimits(mteamAPIEndpointDetail)
if len(detail) != 1 || detail[0].Limit != 100 || detail[0].Window != time.Hour {