internetarchive-downloader icon indicating copy to clipboard operation
internetarchive-downloader copied to clipboard

Docs: about --credentials

Open ProximaNova opened this issue 2 years ago • 1 comments

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: https://github.com/john-corcoran/internetarchive-downloader/issues/8

ProximaNova avatar Feb 11 '23 03:02 ProximaNova

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.

ProximaNova avatar Feb 11 '23 03:02 ProximaNova