Skip to content

Releases: jjjake/internetarchive

Version 2.3.0

Choose a tag to compare

@jjjake jjjake released this 20 Jan 21:47

Features and Improvements

  • Added support for IA_CONFIG_FILE environment variable to specify the configuration file path.
  • Added --no-derive option to ia copy and ia move.
  • Added --no-backup option to ia copy, ia move, ia upload, and ia 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

Choose a tag to compare

@jjjake jjjake released this 23 Nov 23:29

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

Choose a tag to compare

@jjjake jjjake released this 27 Aug 18:04

Features and Improvements

  • Better error messages in ia upload --spreadsheet.
  • Added support for REMOTE_NAME in ia upload --spreadsheet via a REMOTE_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

Choose a tag to compare

@jjjake jjjake released this 06 Apr 20:18

Bugfixes

  • Exit with 0 in ia tasks --cmd ... if a task is already queued or running.

Version 2.0.0

Choose a tag to compare

@jjjake jjjake released this 05 Apr 17:20

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

Choose a tag to compare

@jjjake jjjake released this 27 Jan 20:34

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 like curl.
    e.g. curl -b $(ia configure --print-cookies) <url> ...

Version 1.9.6

Choose a tag to compare

@jjjake jjjake released this 10 Nov 18:28

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

Choose a tag to compare

@jjjake jjjake released this 24 Jun 21:09

Features and Improvements

  • Added support for adding file-level metadata at time of upload.
  • Added --no-backup to ia upload to turn off backups.

Bugfixes

  • Fixed bug in internetarchive.get_tasks where no tasks were returned unless catalog or history 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.

Version 1.9.3

Choose a tag to compare

@jjjake jjjake released this 07 Apr 19:45

Features and Improvements

  • Added support for remvoing items from simplelists as if they were collections.
  • Added Item.derive() method for deriving items.
  • Added Item.fixer() method for submitting fixer tasks.
  • Added --task-args to ia tasks for submitting task args to the Tasks API.

Bugfixes

  • Minor bug fix in ia tasks to fix support for tasks that do not require a --comment option.

Version 1.9.2

Choose a tag to compare

@jjjake jjjake released this 15 Mar 20:33

Features and Improvements

  • Switched to tqdm for progress bar (clint is no longer maintained).
  • Added Item.identifier_available() method for calling check_identifier.php.
  • Added support for opening details page in default browser after upload.
  • Added support for using item or identifier as column header in spreadsheet mode.
  • Added ArchiveSession.get_my_catalog() method for retrieving running/queued tasks.
  • Removed backports.csv requirement for newer Python releases.
  • Authorization header is now used for metadata reads, to support privileged access to /metadata.
  • ia download no longer downloads history dir by default.
  • Added ignore_history_dir to Item.download(). The default is False.

Bugfixes

  • Fixed bug in ia copy and ia move where filenames weren't being encoded/quoted correctly.
  • Fixed bug in Item.get_all_item_tasks() where all calls would fail unless a dict was provided to params.
  • Read from ~/.config/ia.ini with fallback to ~/.ia regardless of the existence of ~/.config
  • Fixed S3 overload message always mentioning the total maximum number of retries, not the remaining ones.
  • Fixed bug where a KeyError exception would be raised on most calls to dark items.
  • Fixed bug where md5 was being calculated for every upload.