~aleteoryx/bundlemania

bundlemania/misc/scrape.js -rw-r--r-- 238 bytes
2a09b9a3Aleteoryx comment in s/pick 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}))