diff --git a/pyproject.toml b/pyproject.toml index df07c5d..ed1435a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "rbx-upload" -version = "0.2.6" +version = "0.2.7" description = "Roblox asset upload client" requires-python = ">=3.13" dependencies = [ diff --git a/src/rbx_upload/client.py b/src/rbx_upload/client.py index 2fe365b..bbf8c89 100644 --- a/src/rbx_upload/client.py +++ b/src/rbx_upload/client.py @@ -293,11 +293,11 @@ class RobloxClient: """Look up the collectible item ID (UUID) for a given asset ID, retrying until available.""" for _ in range(max_attempts): response = await self._http.get( - self._proxy_url(f"https://economy.roblox.com/v2/assets/{asset_id}/details"), + f"https://itemconfiguration.roblox.com/v1/collectibles/0/{asset_id}", cookies=self._csrf_cookies, ) response.raise_for_status() - collectible_item_id = response.json().get("CollectibleItemId") + collectible_item_id = response.json().get("collectibleItemId") if collectible_item_id: return collectible_item_id await asyncio.sleep(poll_interval)