chyroc / icloudgo Goto Github PK
View Code? Open in Web Editor NEWAccess Apple iCloud via go, go port of pyicloud
License: Apache License 2.0
Access Apple iCloud via go, go port of pyicloud
License: Apache License 2.0
❯ docker run \
-e [email protected] \
-e ICLOUD_PASSWORD=xxxxxxxxx \
-e ICLOUD_COOKIE_DIR=/icloud_cookie \
-e ICLOUD_DOMAIN=cn \
-e ICLOUD_OUTPUT=/icloud_photos \
-v ~/.pyicloud:/icloud_cookie \
-v ~/Pictures/icloudbackup:/icloud_photos \
ghcr.io/chyroc/icloud-photo-cli:0.5.0 download
Unable to find image 'ghcr.io/chyroc/icloud-photo-cli:0.5.0' locally
0.5.0: Pulling from chyroc/icloud-photo-cli
63b65145d645: Pull complete
05aee552458c: Pull complete
Digest: sha256:130e8039aed67a02c871231a669956de598f6a40f692d59a35277947560f9f1c
Status: Downloaded newer image for ghcr.io/chyroc/icloud-photo-cli:0.5.0
Authenticating as [email protected]
Please input 2fa code
Login failed
2023/02/18 10:39:06 login failed: get 2fa code failed, err: EOF
这玩意儿能不能添加个web ui,方便账号登陆和管理。。。哪怕web api也好啊,方便对接前端。。。
比如,通讯录、日历、备忘录之类的,我想将icloud所有信息都备份到本地,希望该项目可以作为icloud sdk来用
❯ docker run \
-i \
-e [email protected] \
-e ICLOUD_PASSWORD=xxxxxx \
-e ICLOUD_COOKIE_DIR=/icloud_cookie \
-e ICLOUD_DOMAIN=cn \
-e ICLOUD_OUTPUT=/icloud_photos \
-v ~/.pyicloud:/icloud_cookie \
-v ~/Pictures/icloudbackup:/icloud_photos \
ghcr.io/chyroc/icloud-photo-cli:0.5.0 download
start Aaifurv9VFsnEWX/K5F4nPxu5Drc, IMG_7400.JPG, 265.08KB, thread=0
file '/icloud_photos/IMG_7400.JPG' exist, skip.
start AecCYWRlRuEwM/e8P0YwqAjlALBx, IMG_7399.PNG, 470.71KB, thread=0
file '/icloud_photos/IMG_7399.PNG' exist, skip.
start AXqcDdFMH6P49SkFEpFs44nc5Bep, IMG_7389.JPG, 68.79KB, thread=0
1641756504017
start AdDp3JmapN5WQaQIAxvA85v8pk/A, IMG_7386.JPG, 112.19KB, thread=0
1641756504022
start AS2QPUuj1dGJN7SniCVDZniJ/dml, IMG_7378.PNG, 1.62MB, thread=0
file '/icloud_photos/IMG_7378.PNG' exist, skip.
start AQMbK7oaYy2qJvaGroxGaZ1Uz4kM, IMG_7377.JPG, 79.70KB, thread=0
1641701699269
start AQ+iq2rCmDMBZFHIikTr4MHdBjdV, IMG_7376.HEIC, 2.33MB, thread=0
file '/icloud_photos/IMG_7376.HEIC' exist, skip.
start AY8Symp8FOtuhQ49JZh/Lvwi7b+2, IMG_7375.PNG, 1.42MB, thread=0
file '/icloud_photos/IMG_7375.PNG' exist, skip.
start AW5Fl2yZNLjubUvtAdhkjQDz/l7d, IMG_7374.PNG, 1.60MB, thread=0
file '/icloud_photos/IMG_7374.PNG' exist, skip.
start AamgJ21sRjS9FXv1S9QvArb2ecWK, IMG_7341.JPG, 77.23KB, thread=0
file '/icloud_photos/IMG_7341.JPG' exist, skip.
请问这个参数的意思是
从iCloud下载到本地后从iCloud删除吗?
2023/06/24 16:53:55 login failed: get 2fa code failed, err: EOF
Please input 2fa code
Login failed
命令
docker run -e [email protected] -e ICLOUD_PASSWORD=xxxxx -e ICLOUD_COOKIE_DIR=/icloud_cookie -e ICLOUD_DOMAIN=cn -e ICLOUD_OUTPUT=/icloud_photos -e ICLOUD_ALBUM= -e ICLOUD_THREAD_NUM=10 -e ICLOUD_AUTO_DELETE=true -e ICLOUD_STOP_FOUND_NUM=50 -e ICLOUD_FOLDER_STRUCTURE="2006/01/02" -e ICLOUD_FILE_STRUCTURE="id" -v D:\icloud\cookie:/icloud_cookie -v D:\icloud\photos:/icloud_photos ghcr.io/chyroc/icloud-photo-cli:0.13.0 download
Status: Downloaded newer image for ghcr.io/chyroc/icloud-photo-cli:0.12
Incorrect Usage: flag provided but not defined: -file-structure
NAME:
icloud-photo-cli download
USAGE:
icloud-photo-cli download command [command options] [arguments...]
DESCRIPTION:
download photos
COMMANDS:
help, h Shows a list of commands or help for one command
OPTIONS:
--username value, -u value apple id username [$ICLOUD_USERNAME]
--password value, -p value apple id password [$ICLOUD_PASSWORD]
--cookie-dir value, -c value cookie dir [$ICLOUD_COOKIE_DIR]
--domain value, -d value icloud domain(com,cn) (default: com) [$ICLOUD_DOMAIN]
--output value, -o value output dir (default: "./iCloudPhotos") [$ICLOUD_OUTPUT]
--album value, -a value album name, if not set, download all albums [$ICLOUD_ALBUM]
--folder-structure 2006, --fs 2006 support: 2006(year), 01
(month), 02
(day), 15
(24-hour), 03
(12-hour), 04
(minute), 05
(second), example: 2006/01/02
, default is /
(default: "/") [$ICLOUD_FOLDER_STRUCTURE]
--stop-found-num stop-found-num, -s stop-found-num stop download when found stop-found-num photos have been downloaded (default: 0) [$ICLOUD_STOP_FOUND_NUM]
--thread-num value, -t value thread num, if not set, means 1 (default: 1) [$ICLOUD_THREAD_NUM]
--auto-delete, --ad auto delete photos after download (default: true) [$ICLOUD_AUTO_DELETE]
--help, -h show help
2023/04/09 13:07:02 flag provided but not defined: -file-structure
hi, the project is awesome. but i have some question..
is it working with random file name?
after download,file name is ARs0fhovjV2QqSHN3EdBs9bpG6a2.MOV
is it possible files group by date using folder?
like 2022/02/22/ARs0fhovjV2QqSHN3EdBs9bpG6a2.MOV
last one , why some 1kb files downloaded?
i think it happend on when continuted download.
thansks.
when I run the docker image on aarch64 I'm getting this error
docker: no matching manifest for linux/arm64/v8 in the manifest list entries
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.