Releases: jjjake/internetarchive
Releases · jjjake/internetarchive
Version 3.0.1
Features and Improvements
- Cut down on the number of HTTP requests made by search.
- Added Python type hints, and other Python 3 improvements.
Version 3.0.0
Breaking changes
- Removed Python 2.7, 3.5, and 3.6 support
ia download
no longer has a--verbose
option, and--silent
has been renamed to--quiet
.internetarchive.download
,Item.download
andFile.download
no longer have asilent
keyword argument. They are silent by default now unlessverbose
is set toTrue
.
Features and Improvements
page
parameter is no longer required ifrows
parameter is specified in search requests.- advancedsearch.php endpoint now supports IAS3 authorization.
ia upload
now has a--keep-directories
option to use the full local file paths as the
remote name.- Added progress bars to
ia download
Bugfixes
- Fixed treatment of list-like file metadata in
ia list
under Python 3 - Fixed
ia upload --debug
only displaying the first request. - Fixed uploading from stdin crashing with UnicodeDecodeError or TypeError exception.
- Fixed
ia upload
silently ignoring exceptions. - Fixed uploading from a spreadsheet with a BOM (UTF-8 byte-order mark) raising a KeyError.
- Fixed uploading from a spreadsheet not reusing the
identifier
column. - Fixed uploading from a spreadsheet not correctly dropping the
item
column from metadata. - Fixed uploading from a spreadsheet with
--checksum
crashing on skipped files. - Fixed minor bug in S3 overload check on upload error retries.
- Fixed various messages being printed to stdout instead of stderr.
- Fixed format selection for on-the-fly files.
Version 2.3.0
Features and Improvements
- Added support for
IA_CONFIG_FILE
environment variable to specify the configuration file path. - Added
--no-derive
option toia copy
andia move
. - Added
--no-backup
option toia copy
,ia move
,ia upload
, andia delete
.
Bugfixes
- Fixed bug where queries to the Scrape API (e.g. most search requests made by
internetarchive
)
would fail to return all docs without any error reporting, if the Scrape API times out.
All queries to the Scrape API are now tested to assert the number of docs returned matches the
hit count returned by the Scrape API.
If these numbers don't match, an exception is thrown in the Python API and the CLI exits with
a non-zero exit code and error message. - Use .archive.org as the default cookie domain. This fixes a bug where an AttributeError exception
would be raised if a cookie wasn't set in a config file.
Version 2.2.0
Features and Improvements
- Added
ia reviews <id> --delete
. - Added ability to fetch a users reviews from an item via
ia reviews <id>
.
Bugfixes
- Fixed bug in
ArchiveSession
object where domains weren't getting set properly for cookies.
This caused archive.org cookies to be sent to other domains. - Fixed bug in URL param parser for CLI.
- Fixed Python 2 bug in
ia upload --spreadsheet
.
Version 2.1.0
Features and Improvements
- Better error messages in
ia upload --spreadsheet
. - Added support for REMOTE_NAME in
ia upload --spreadsheet
via aREMOTE_NAME
column. - Implemented XDG Base Directory specification.
Bugfixes
- Fixed bug in FTS where searches would crash with a TypeError exception.
- Improved Python 2 compatability.
Version 2.0.1
Bugfixes
- Exit with 0 in
ia tasks --cmd ...
if a task is already queued or running.
Version 2.0.0
Features and Improvements
- Automatic paging scrolling added to
ia search --fts
. - Default support for lucene queries in
ia search --fts
. - Added support for getting rate-limit information from the Tasks API (i.e.
ia tasks --get-rate-limit --cmd derive.php
). - Added ability to set a remote-filename in a spreadsheet when uploading via
ia upload --spreadsheet ...
.
Bugfixes
- Fixed bug in
ia metadata --remove ...
where multiple collections would be removed
if the specified collection was a substring of any of the existing collections. - Fixed bug in
ia metadata --remove ...
where removing multiple collections was sometimes
not supported.
Version 1.9.9
Features and Improvements
- Added beta support for FTS API.
- Validate identifiers in spreadsheet before uploading file with
ia upload --spreadsheet
. - Added
ia configure --print-cookies
.
This is helpful for using your archive.org cookies in other programs likecurl
.
e.g.curl -b $(ia configure --print-cookies) <url> ...
Version 1.9.6
Features and Improvements
- Added ability to submit tasks with a reduced priority.
- Added ability to add headers to modify_metadata requests.
Bugfixes
- Bumped version requirements for
six
.
This addresses the "No module named collections_abc" error.
Version 1.9.4
Features and Improvements
- Added support for adding file-level metadata at time of upload.
- Added
--no-backup
toia upload
to turn off backups.
Bugfixes
- Fixed bug in
internetarchive.get_tasks
where no tasks were returned unlesscatalog
orhistory
params were provided. - Fixed bug in upload where headers were being reused in certain cases.
This lead to issues such as queue-derive being turned off in some cases. - Fix crash in
ia tasks
when a task log contains invalid UTF-8 character. - Fixed bug in upload where requests were not being closed.