Skip to content

Instantly share code, notes, and snippets.

@christopherjohst
Last active March 12, 2021 11:26
Show Gist options
  • Save christopherjohst/ab78da97254fd1e2b2f0abc9578d8c56 to your computer and use it in GitHub Desktop.
Save christopherjohst/ab78da97254fd1e2b2f0abc9578d8c56 to your computer and use it in GitHub Desktop.
Using wget to download Apple beta releases
TOKEN is from ADCDownloadAuth cookie (get it from web inspector storage)
URL is resolved file url on the CDN download.developer.apple.com
wget -x --header "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
--header "Upgrade-Insecure-Requests: 1" \
--header "Cookie: ADCDownloadAuth={TOKEN}" \
--header "User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 10_1 like Mac OS X) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0 Mobile/14B72 Safari/602.1" \
--header "Accept-Language: en-us" "{URL}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment