~aleteoryx/bundlemania

ref: 2cbe47a8f5f3846b17f81f8cf2a646752905a272 bundlemania/misc/scrape.js -rw-r--r-- 238 bytes
2cbe47a8Aleteoryx basics 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}))