Knuckle Cracker

Creeper World 2 => Custom Map Discussion => Topic started by: Laela on September 11, 2021, 04:54:40 PM

Title: Bulk download maps
Post by: Laela on September 11, 2021, 04:54:40 PM
Is there existing way to download all maps? For example zip.

Mostly looking for yum234 map files.
Title: Re: Bulk download maps
Post by: Laela on October 01, 2021, 04:19:27 PM
Solved with
let s = ""
let w = "\ntimeout 5\n"
document.querySelectorAll('a[href*="mapdownload.php"]').forEach(e => s=s+w+"curl "+(e.href)+" > "+e.href.substr(e.href.lastIndexOf("=")+1)+".cw2")
console.log(s)

Could be improved to collect links from all pages, but with 13 pages it was acceptable.