Skip to content
New issue

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

Docs: about --credentials #9

Open
ProximaNova opened this issue Feb 11, 2023 · 1 comment
Open

Docs: about --credentials #9

ProximaNova opened this issue Feb 11, 2023 · 1 comment

Comments

@ProximaNova
Copy link

ProximaNova commented Feb 11, 2023

Tested in Ubuntu: it fails to download files when the file's filename start with a hyphen (-).

Good software. I changed this issue from what I originally had since I think some other part of my script/command messed it up.

Docs: about --credentials
In the documentation it says "--credentials - Note that terminal history on your system may reveal your credentials to other users, and your credentials will be stored in a plaintext file in either $HOME/.ia or $HOME/.config/ia.ini". I checked those via "cat $HOME/.config/ia.ini" and "cat $HOME/.ia" in GNU/Linux. Both commands stated "No such file or directory".

Docs: more info on --credentials
In the docs, the following should maybe also be stated. "Terminal history is not recorded if the command starts with a space, so 'echo a' will be recorded and ' echo a' will not be recorded. Email and password can be passed to stdin via '--credentials $(cat email.txt) $(cat pass.txt)'."

Also, would be neat to have this ability: #8

@ProximaNova ProximaNova changed the title Fails to download when filenames start with a hyphen [removed] Feb 11, 2023
@ProximaNova ProximaNova changed the title [removed] Docs: about --credentials Feb 11, 2023
@ProximaNova
Copy link
Author

For me, it was "$HOME/.config/internetarchive/ia.ini".

Also, log files look like this: "20230210_141926_ia_downloader_info.log". If only one item was downloaded to create that log, shouldn't it say "20230210_141926_ia_downloader_info_[item_name_here].log". This would be helpful to more easily know what has errors when grepping for KeyboardInterrupt or ConnectionError.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant