We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please see the transcript below — it doesn't look right to me ("successfully" logging in with dummy credentials).
I'm trying to use this package for media (video) download, if you see this and have anything to say, please do!
Thanks to the maintainers and all.
# docker run --rm -it node bash root@50376cf51f5a:/# cd root@50376cf51f5a:~# npm install apple-icloud npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 added 78 packages in 6s 2 packages are looking for funding run `npm fund` for details npm notice npm notice New minor version of npm available! 10.2.4 -> 10.4.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.4.0 npm notice Run npm install -g [email protected] to update! npm notice root@50376cf51f5a:~# node Welcome to Node.js v21.6.2. Type ".help" for more information. > const iCloud = require('apple-icloud'); undefined > var myCloud = new iCloud("/tmp/icloud-session.json", "dumdum", "dummydum"); myCloud.on("ready", async function() { console.log("icloud ready?", myCloud); }); myCloud.on("err", function(err) { console.log("icloud erred", err); }); console.log("listeners ready"); listeners ready undefined > (node:62) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) icloud ready? iCloud { _events: [Object: null prototype] { ready: [AsyncFunction (anonymous)], err: [Function (anonymous)] }, _eventsCount: 2, _maxListeners: undefined, loggedIn: true, enablePush: true, sessionFile: '/tmp/icloud-session.json', username: 'dumdum', password: 'dummydum', auth: { token: null, xAppleTwosvTrustToken: null, cookies: [] }, twoFactorAuthentication: false, clientSettings: { language: 'en-us', locale: 'en_US', xAppleWidgetKey: '83545bf919730e51dbfba24e7e8a78d2', xAppleIFDClientInfo: [Getter], timezone: 'US/Pacific', clientBuildNumber: '17DProject78', clientMasteringNumber: '17D68', defaultHeaders: { Referer: 'https://www.icloud.com/', 'Content-Type': 'text/plain', Origin: 'https://www.icloud.com', Host: '', Accept: '*/*', Connection: 'keep-alive', 'Accept-Language': [Getter], 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.25 (KHTML, like Gecko) Version/11.0 Safari/604.1.25', Cookie: '', 'X-Requested-With': 'XMLHttpRequest' } }, clientId: 'A21FF03E-878D-E883-F59B-82D71A5CD55F', push: { topics: [ '73f7bfc9253abaaa423eba9a48e9f187994b7bd9', 'dce593a0ac013016a778712b850dc2cf21af8266', 'f68850316c5241d8fd120f3bc6da2ff4a6cca9a8', 'e850b097b840ef10ce5a7ed95b171058c42cc435', '8a40cb6b1d3fcd0f5c204504eb8fb9aa64b78faf', '5a5fc3a1fea1dfe3770aab71bc46d0aa8a4dad41' ], token: null, ttl: 43200, courierUrl: '', registered: [] }, account: {}, logins: [ 1709030599594 ], Contacts: { list: [Function (anonymous)], __card: [Function (anonymous)], change: [Function (anonymous)], new: [Function (anonymous)], delete: [Function (anonymous)], __group: [Function (anonymous)], newGroups: [Function (anonymous)], deleteGroups: [Function (anonymous)], changeGroups: [Function (anonymous)] }, Calendar: { getEvents: [Function (anonymous)], getCollections: [Function (anonymous)], createEvent: [Function (anonymous)], createCollection: [Function (anonymous)], deleteEvent: [Function (anonymous)], changeEvent: [Function (anonymous)], __event: [Function (anonymous)] }, FindMe: { initialized: [Function (anonymous)], get: [Function (anonymous)], __start: [Function (anonymous)], __saveGet: [Function (anonymous)], __generateContent: [Function (anonymous)], __data: [Function (anonymous)], playSound: [Function (anonymous)], lostDevice: [Function (anonymous)] }, Friends: { getLocations: [Function (anonymous)] }, Mail: { getFolders: [Function (anonymous)], listMessages: [Function (anonymous)], getMessage: [Function (anonymous)], move: [Function (anonymous)], flag: [Function (anonymous)], unflag: [Function (anonymous)], delete: [Function (anonymous)], send: [Function (anonymous)], createFolder: [Function (anonymous)], renameFolder: [Function (anonymous)], moveFolder: [Function (anonymous)], deleteFolder: [Function (anonymous)], __flag: [Function (anonymous)], __message: [Function (anonymous)], __folder: [Function (anonymous)], __preference: [Function (anonymous)] }, Notes: { fetch: [Function (anonymous)], resolve: [Function (anonymous)], resolveResolve: [Function (anonymous)], __zone: [Function (anonymous)], createFolders: [Function (anonymous)], __lookup: [Function (anonymous)], __modify: [Function (anonymous)] }, Reminders: { getOpenTasks: [Function (anonymous)], changeTask: [Function (anonymous)], __task: [Function (anonymous)], completeTask: [Function (anonymous)], getCompletedTasks: [Function (anonymous)], createTask: [Function (anonymous)], openTask: [Function (anonymous)], deleteTask: [Function (anonymous)], __collection: [Function (anonymous)], deleteCollection: [Function (anonymous)], createCollection: [Function (anonymous)], changeCollection: [Function (anonymous)] }, Photos: { get: [Function (anonymous)], upload: [Function (anonymous)] }, Drive: { folderCache: {}, getItem: [Function (anonymous)], createFolders: [Function (anonymous)], deleteItems: [Function (anonymous)], renameItems: [Function (anonymous)], upload: [Function (anonymous)] }, cookiesValid: true, [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false }
The text was updated successfully, but these errors were encountered:
If you see this and
Sorry, something went wrong.
No branches or pull requests
Please see the transcript below — it doesn't look right to me ("successfully" logging in with dummy credentials).
I'm trying to use this package for media (video) download, if you see this and have anything to say, please do!
Thanks to the maintainers and all.
The text was updated successfully, but these errors were encountered: