Comments (3)
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.
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.
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)
- 1.17.1 introduces ModuleNotFoundError: No module named 'starters' HOT 9
- Totally New and need help HOT 3
- Support for bursts HOT 4
- Container on Synology NAS does not start HOT 17
- PyPI does not work with user/pass any more HOT 5
- 1.17.3 introduces "Permission denied" on Synology NAS HOT 10
- Support loading parameters from environment variables
- [Latest Edits] Allow downloading of edited files HOT 1
- Authorization for not 2fa account failed with error 'Missing apple_id field (Missing apple_id field)'
- Can't login "Bad username or password for" HOT 2
- icloudpd 1.17.3: Unhandled Exception While Authenticating HOT 10
- Live pics are downloaded as HEIC and MOV
- Option to only download N oldest HOT 3
- Two Containers - One Downloads, the other Doesn't. HOT 4
- crashed during 2fa (Failed to execute script 'icloudpd_ex' due to unhandled exception!) HOT 5
- Hello hello
- Reverse geocode GPS coordinates from photos and write appropriate EXIF location tags?
- Only small fraction of photos is downloaded HOT 1
- Only small number of photos is downloaded from library with 44k photos HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icloud_photos_downloader.