GitHub – jjjake/internetarchive: A Python and Command-Line Interface to Archive.org
Posted by jpluimers on 2021/06/16
On my list of things to play with: [WayBack] GitHub – jjjake/internetarchive: A Python and Command-Line Interface to Archive.org.
Via:
- [WayBack] Mark Graham on Twitter: “”The IA Client – The Swiss Army Knife of Internet Archive” https://t.co/vqFrtVGN60 via @internetarchive I use it all the time. Love it!”
- [WayBack] The IA Client – The Swiss Army Knife of Internet Archive | Internet Archive Blogs
Related:
- [WayBack] The Internet Archive Python Library — Internet Archive item APIs 1.8.5 documentation
- [WayBack] Command-Line Interface — Internet Archive item APIs 1.8.5 documentation
- [WayBack] Quickstart — Internet Archive item APIs 1.8.5 documentation, including:
Configuring
Certain functionality of the internetarchive Python library requires your archive.org credentials. Your IA-S3 keys are required for uploading, searching, and modifying metadata, and your archive.org logged-in cookies are required for downloading access-restricted content and viewing your task history. To automatically create a config file with your archive.org credentials, you can use the
iacommand-line tool:$ ia configure Enter your archive.org credentials below to configure 'ia'. Email address: user@example.com Password: Config saved to: /home/user/.config/ia.ini
Your config file will be saved to
$HOME/.config/ia.ini, or$HOME/.iaif you do not have a.configdirectory in$HOME. Alternatively, you can specify your own path to save the config to viaia --config-file '~/.ia-custom-config' configure.If you have a netc file with your archive.org credentials in it, you can simply run
ia configure --netrc. Note that Python’s netrc library does not currently support passphrases, or passwords with spaces in them, and therefore not currently suported here.
–jeroen






Leave a comment