A Python and Command-Line Interface to Archive.org
AGPL-3.0 License
Bot releases are hidden (Show)
Published by jjjake almost 5 years ago
Features and Improvements
Tasks API <https://archive.org/services/docs/api/tasks.html>
_.Bugfixes
ia download
now displays download failed
instead of success
when download fails.Item.get_file
would not work on unicode names in Python 2.Published by jjjake over 5 years ago
Features and Improvements
ia configure
) now uses the archive.org xauthn endpoint.Bugfixes
Published by jjjake over 5 years ago
ia tasks
help.Published by jjjake over 5 years ago
Features and Improvements
Bugfixes
Published by jjjake over 5 years ago
Features and Improvements
Bugfixes
ia tasks --task-id
where no task was being returned.internetarchive.get_tasks()
where it was not possible to query by task_id
.Published by jjjake over 6 years ago
Bugfixes
ia tasks --get-task-log
that was returning an unable to parse JSON error.Published by jjjake over 6 years ago
Feautres and Improvements
ia search
for authentication errors.ia configure
.--remove
option to ia metadata
for removing values from single or mutli-field metadata elements.--no-change-timestamp
flag to ia download
.Bugfixes
ia tasks
commands to fail.ia move
.internetarchive.api.modify_metadata
where debug and other args were not honoured.Published by jjjake over 6 years ago
Feautres and Improvements
Bugfixes
ia move
and ia copy
.Connection:close
header to all requests to force close connections after each request.Published by jjjake almost 7 years ago
Feautres and Improvements
ia upload
(previously you could only do this for single files).Bugfixes
ia delete
where all requests were failing due to a typo in a function arg.Published by jjjake almost 7 years ago
Feautres and Improvements
x-archive-keep-old-version
S3 header by default for all ia upload
, ia delete
, ia copy
, and ia move
commands.ia
command that clobbers or deletes a command, will save a version of the file in <identifier>/history/files/$key.~N~
.-H x-archive-keep-old-version:0
to any ia upload
, ia delete
, ia copy
, or ia move
command.Published by jjjake almost 7 years ago
Feautres and Improvements
max_retries
in :func:internetarchive.search_items
.internetarchive.ArchiveSession.mount_http_adapter
a public method for supporting complex custom retry logic.--timeout
option to ia search
for setting a custom timeout.Bugfixes
items
key rather than docs
key.Published by jjjake about 7 years ago
Feautres and Improvements
ia search
.Bugfixes
internetarchive.utils.get_s3_xml_text()
is used to parse errors returned by S3 in XML.:
was being stripped from filenames in upload.download()
when return_responses
is True
.Published by jjjake about 7 years ago
Bugfixes
ia upload
where all commands would fail if multiple collections were specified (e.g. -m collection:foo -m collection:bar).Published by jjjake about 7 years ago
Feautres and Improvements
jsonpatch
requirements, as the metadata API now supports more recent versions of the JSON Patch standard.Bugfixes
request_kwargs
.subject[0]
) would make the request fail if the key was the only indexed key provided.ArchiveSession.s3_is_overloaded()
.True
(as in, yes, S3 is overloaded).Published by jjjake over 7 years ago
Features and Improvements
Item.get_files()
to be faster, especially for items with many files.Bugfixes
ia tasks
and other Catalog
functions were always using HTTP even when it should have been HTTPS.ia metadata
was exiting with a non-zero status for "no changes to xml" errors.ia upload --spreadsheet
and ia metadata --spreadsheet
using the backports.csv
module.ia upload --spreadsheet
where some metadata was accidentally being copied from previous rowsia tasks --json
ouptut, it now is.row_type
in ia tasks --json
was returning integer for row-type rather than name (e.g. 'red').Published by jjjake over 7 years ago
Features and Improvements
ia copy
and ia move
for copying and moving files in archive.org items.ia tasks
.ia download
to write to stdout instead of file.Bugfixes
ia delete
.internetarchive
id validation.ia upload
if the response body is not XML.ia upload --size-hint
where value was an integer, but requests requries it to be a string.ia download
and File.download
.Published by jjjake about 8 years ago
Features and Improvements
ia upload
.Bugfixes
internetarchive
now converts all header values to strings.Published by jjjake about 8 years ago
Features and Improvements
internetarchive.api.get_user_info()
.Published by jjjake over 8 years ago
utils.validate_ia_identifier
(i.e. ia upload
). Periods are now allowed. Periods, underscores, and dashes are not allowed as the first character.Published by jjjake over 8 years ago
internetarchive.item.Item.upload.iter_directory()
to internetarchive.utils
.ia download <id> --on-the-fly
or item.download(on_the_fly=True)
.s3_is_overloaded()
now returns True
if the call is unsuccessful.