GithubHelp home page GithubHelp logo

Comments (3)

scaraebeus avatar scaraebeus commented on May 26, 2024 1

I have the scaraebeus/2fa_enhancements branch which adds a switch to display trusted (SMS) devices to send a code to - but there is not a pull request for it yet as it's not fully tested.

Feel free to test it out if you want - if you pass the --list-devices option (along with the other minimum required options) and you don't already have a validated session, you should get a list of available SMS devices to send a code to (or can choose to just enter the code that was auto-sent to the device).

I can clean up the tests and verify test coverage if it works and submit an official pull request.

from icloud_photos_downloader.

biGdada avatar biGdada commented on May 26, 2024

additional info:
deleting the relevant account files from ./pyicloud directory sort of solves the problem.
now the authentication message appears on my devices, but there is no option to login by sms

from icloud_photos_downloader.

Dylqn avatar Dylqn commented on May 26, 2024

Hey @biGdada, this also happened to me running version 1.17.3.

Not sure if your situation is the same as mine, but I'll explain what I did in case it helps you or anyone else down the line.

Steps to reproduce:

  • icloudpd command and flags were stored in a .sh file
  • Ran script via terminal as usual (i.e. -- running ./icloudpd.sh)

This script contained the following:
icloudpd --directory /mnt/iCloud --username [email protected] --auto-delete --recent 10 --smtp-username [email protected] \ --smtp-password password_here --notification-email [email protected] --watch-with-interval 86400

Resolution:

  • I had to run the command "manually" rather than running it as a script.

Example:
Ran the following command via terminal:
icloudpd --directory /mnt/iCloud --username [email protected] --auto-delete --recent 10 --watch-with-interval 86400

  • I removed all smtp entries when running this manually and I was prompted for my 2fa code without the expiration notice.
  • This allowed me to continue and my photos started syncing to the directory specified.
  • I immediately cancelled the process and ran my original script and was not prompted for my 2fa code.

from icloud_photos_downloader.

Related Issues (20)

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.