Get name and id of every emote in the catalog without HttpService?

Is it possible to retrieve a list of all emotes in the catalog without using HttpService?

{
{"Shuffle", 4391208058};
{"Y", 4391211308};
{"Godlike", 3823158750};
{"Line Dance", 4049646104};
etc ...
}

You can do it manually by either … just doing it by hand, or use some basic JavaScript to compile a list of all of them. You can do this by webscraping (for some reason the API does not display the name of the emote).

Go to this page and run this in your browser’s console:

function luaTable(name, id) {
    return `{"${name}", ${id}}`
}

let data = ""

$(".item-card-container").each(function(i, el) {
    let name = $(el).find(".item-card-name.ng-binding").attr("title")
    let id = $(el).attr("href").match(/[0-9]+/g)[0]
    data += luaTable(name, id) + " , "
})

copy("{" + data + "}")

Remove the end comma, and you’re good to go. But this means if a new emote is added you’ll have to manually add it, you can’t do that without using HttpService.

3 Likes

Does jquery work in the console?

Yes if the site has it, which roblox does.