~aleteoryx/bundlemania

ref: dcee34571bbfda679496cbe3e07eb08e1b561b7e bundlemania/misc/scrape.js -rw-r--r-- 238 bytes
dcee3457Aleteoryx comment 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}))