Attempting to get Place Id from a random game on a favorites list

I made a script that successfully gets a list of games from a player’s favorites page and outputs the Universe Ids of said games. The only issue is that I need the Place Id, and nothing seems to allow me to do that.

image
Attempting to get the Place Id via .PlaceId outputs nil, which as of now due to me being pretty new to all of this is the only way I know how to get the Place Id. The script also suffers from some other issues, I occasionally get this error:

I also can only seem to get up to 500 Universe Ids, which is a problem because I will need a much bigger list for what I am using this for.

The code to my script:

local Game = game
local HttpService = Game:GetService("HttpService")
local gameids = {}

local BaseUrl = "https://www.roproxy.com/users/favorites/list-json?assetTypeId=9&itemsPerPage=2000&pageNumber=1&userId=7597220565"
local data = HttpService:JSONDecode(HttpService:GetAsync(BaseUrl))
for _, Favorite in ipairs(data.Data.Items) do
	table.insert(gameids, Favorite.Item.UniverseId)
end
print(#gameids)
print((gameids[1]))

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

You can extract the Place ID like this:

local url = favourite.Item.AbsoluteUrl
local success, id = pcall(function() return string.match(url, "/games/(%d+)/" end)
if success and id then table.insert(gameIds, tonumber(id)) end

Thanks! Is there any way I can fix the issue of only getting 500 Ids though? Or is that a hard-coded limit for arrays or something?

Alright so I have found out that Roblox limits HTTP requests to 500/minute, so I need to find a way to specify a page on my favorites list to get the games of, instead of trying to get the entire list, however, the “Pagenumber” function seems to do nothing, and it always defaults to the first page and gets games from there, how can I select a specific page?