Code Monkey home page Code Monkey logo

icloudgo's People

Contributors

chyroc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

icloudgo's Issues

还没输入2fa验证码就报错了

❯ 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

下载不全的问题

部署好之后自动生成文件夹开始下载,读取到文件数13000+,过了一天发现文件夹内1800+文件夹,但是文件数只有130+,很多文件夹是空的,重启服务后逐步开始下一点,到1400张就再也不下了,看了下logs

显示已经下载完毕,进入睡眠,一个小时后无限睡眠循环

Uploading IMG_3435.jpeg…

可以加一些其他模块的api吗

比如,通讯录、日历、备忘录之类的,我想将icloud所有信息都备份到本地,希望该项目可以作为icloud sdk来用

有8万多张照片要下载,经常中断。怎么从中断处恢复下载,而不是从头开始skip

❯ 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.

--auto-delete 参数

请问这个参数的意思是
从iCloud下载到本地后从iCloud删除吗?

登录失败 get 2fa code failed, err: EOF

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

最新的0.12版docker镜像file-structure参数无效

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

is it working with random file name?

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.

文件名问题

  1. 感谢开源,项目很好用
  2. 下载的文件名是随机生成的吗?是否可以按照原文件名下载?
  3. 是否可以按照日期分组?
  4. 还有就是时区问题
    谢谢

no docker arm64 support

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.