github jjjake/internetarchive v5.8.0
Version 5.8.0

6 hours ago

Features and Improvements

  • Rewrote PostDataAction in CLI to accept both JSON strings and key:value format.
    Previously only JSON was accepted; now key:value pairs are also supported.
  • Added "can be specified multiple times" hints to repeatable CLI flags.
  • Standardized CLI help text capitalization across all subcommands.

Bugfixes

  • Fixed CLI argument parsing bug where nargs="+" on options like --header,
    --metadata, and --format would greedily consume subsequent positional
    arguments (e.g. the identifier). Changed to nargs=1 with repeated flags.
  • Fixed mutable default={} bug in custom argparse actions (PostDataAction,
    QueryStringAction, MetadataAction, FlattenListAction) that caused state
    leakage when parsers were reused across multiple invocations.
  • Fixed RecursionError caused by socket.connect being monkey-patched on every
    ArchiveSession instantiation. Each new session would wrap the already-patched
    function, causing infinite mutual recursion after ~980 sessions. The patch is now
    applied once at module import time
    (#746 <https://github.com/jjjake/internetarchive/issues/746>_).

Don't miss a new internetarchive release

NewReleases is sending notifications on new releases.