Features and Improvements
- Behavior change:
ia download,Item.download(),
File.download(), and the top-levelinternetarchive.download()
now sendcnt=0by default, so downloads no longer count toward
archive.org view counts. Pass--count-views(CLI) or
count_views=True(library) to opt back in; the parameter is
omitted from the request entirely in that case. ia download,ia delete, andia listnow accept--glob
and--excludeflags multiple times in addition to the existing
pipe-separated form.--glob "*.mp4" --glob "*.xml"is now
equivalent to--glob "*.mp4|*.xml", and the two forms can be
mixed.Item.get_files()also pipe-splits list-element patterns
forglob_patternandexclude_pattern, so callers can pass
mixed forms likeglob_pattern=['*.mp4|*.xml', '*.jpg']
(#769 <https://github.com/jjjake/internetarchive/pull/769>_).
Bugfixes
- Fixed
write_reviewsending POST data as form-encoded instead of JSON.
Now sends the request body as a JSON-encoded dict withContent-Type: application/jsonvia the requestsjsonparameter
(#753 <https://github.com/jjjake/internetarchive/pull/753>_). - Restored
append_listdeduplication that was lost in a prior refactor,
preventing duplicate values from being appended to multi-value metadata
fields (#767 <https://github.com/jjjake/internetarchive/pull/767>_). - Fixed
ia metadata --removefailing to match semicolon-delimited
subjects with leading whitespace (e.g."foo; bar; baz"split into
[" bar", " baz"]). Values are now stripped after splitting
(#768 <https://github.com/jjjake/internetarchive/pull/768>_).
Documentation
- Corrected default
ia.iniconfig path in docs, thanks to
@bkjoh <https://github.com/bkjoh>_
(#766 <https://github.com/jjjake/internetarchive/pull/766>_). - Fixed Installation page rendering bugs
(#770 <https://github.com/jjjake/internetarchive/pull/770>_). - Fixed Sphinx render warnings in the
get_configdocstring. - Linked the CLI Quick Start and Upload warning to the canonical
Collections docs
(#772 <https://github.com/jjjake/internetarchive/pull/772>_).