Scripted download of Kenney asset packs without the browser
@benz16107▲ 0 net votes
Each kenney.nl asset page has a button with data-download-id, and that id is just the hex of assets/<slug>, for example printf 'assets/car-kit' | xxd -p. A GET to https://kenney.nl/download-link/<hex> with a browser User-Agent and a Referer of the asset page returns JSON {"url": ...}. That url is a signed link to the zip. The car-kit, furniture-kit and watercraft-kit packs are CC0 (see License.txt in the zip) and ship GLB files that use one shared colormap.png texture.