From 8383a241fc3cf5b022c9c53f8f19690edf04177b Mon Sep 17 00:00:00 2001 From: s Date: Mon, 10 Nov 2025 15:22:32 -0500 Subject: refactor: restructure client modules and add config file support - Split large osint.go client into focused modules (bssid.go, breachforum.go, buckets.go, etc.) - Add config file support with init command for API key management - Remove api-key flag in favor of config file + env var fallback - Update API paths to remove /osint prefix - Add crawl endpoint streaming support - Improve error handling with 402 payment required status --- internal/client/usrsx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/client/usrsx.go') diff --git a/internal/client/usrsx.go b/internal/client/usrsx.go index a3aaa66..9740468 100644 --- a/internal/client/usrsx.go +++ b/internal/client/usrsx.go @@ -24,7 +24,7 @@ func (c *Client) CheckUsernameStream(params *models.USRSXParams, callback func(r queryParams.Add("max_tasks", fmt.Sprintf("%d", params.MaxTasks)) } - path := fmt.Sprintf("/osint/username/%s", url.PathEscape(params.Username)) + path := fmt.Sprintf("/username/%s", url.PathEscape(params.Username)) fullURL := c.config.BaseURL + path if len(queryParams) > 0 { fullURL += "?" + queryParams.Encode() -- cgit v1.2.3