~aleteoryx/bundlemania

ref: 5c6ac7ae0d5b3943b3da142c0395afcc7a7d1593 bundlemania/misc/scrape.js -rw-r--r-- 238 bytes
5c6ac7aeAleteoryx picker 9 months ago
                                                                                
1
2
3
4
// snippets to scrape bundle info from itch

// get games. run on /b/ID/SLUG with type set to games, scroll all the way down first.
Array.from(document.querySelectorAll('.game_cell .title')).map(a => ({title: a.innerText, href: a.href}))