michaeltyson / adc-download Goto Github PK
View Code? Open in Web Editor NEWA script to perform resumable downloads from the Apple Developer Center
A script to perform resumable downloads from the Apple Developer Center
The current Apple ID login page appears to have broken adc_download.
The page looks like:
It looks like adc_download is trying to find a wosid
object in the page, but fails to:
(output is from running with -e -x
)
… html from web page…
</html> =~ name="wosid" value="([^"]+)" ]]
+ '[' '!' 'https://daw.apple.com/authenticate;jsessionid=<JSessionID>' ']'
+ curl -s -c /tmp/adccookies.txt -L -F theAccountName=appleid -F theAccountPW=password -F 1.Continue=1 -F theAuxValue= -F wosid= 'https://daw.apple.com/authenticate;jsessionid=<JSessionID>' -o /dev/null
Either one of these should be faster (and more flexible) than curl. Especially on slow connections.
(I'm going to fork and take a stab at implementing this. If you see no activity from me, though, feel free to add it yourself ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.