diff --git a/docs/rbx_upload.html b/docs/rbx_upload.html index 340bafc..10b334c 100644 --- a/docs/rbx_upload.html +++ b/docs/rbx_upload.html @@ -276,8 +276,8 @@ rbx_upload 43 } 44 self._csrf_cookies = {".ROBLOSECURITY": roblosecurity} 45 - 46 def _proxy_url(self, url: str) -> str: - 47 if not self._proxy: + 46 def _proxy_url(self, url: str, force_direct: bool = False) -> str: + 47 if not self._proxy or force_direct: 48 return url 49 return url.replace("roblox.com", self._proxy) 50 @@ -516,7 +516,7 @@ rbx_upload 283 "targetType": 0, 284 } 285 response = await self._http.post( -286 self._proxy_url("https://itemconfiguration.roblox.com/v1/collectibles"), +286 self._proxy_url("https://itemconfiguration.roblox.com/v1/collectibles", force_direct=True), 287 json=data, 288 headers={ 289 "X-CSRF-TOKEN": csrf, @@ -879,7 +879,7 @@ failures in the returned BatchResult.
283 "targetType": 0, 284 } 285 response = await self._http.post( -286 self._proxy_url("https://itemconfiguration.roblox.com/v1/collectibles"), +286 self._proxy_url("https://itemconfiguration.roblox.com/v1/collectibles", force_direct=True), 287 json=data, 288 headers={ 289 "X-CSRF-TOKEN": csrf,