internetarchive icon indicating copy to clipboard operation
internetarchive copied to clipboard

A Python and Command-Line Interface to Archive.org

Results 94 internetarchive issues
Sort by recently updated
recently updated
newest added

A few simplifications suggested by https://pypi.org/project/flake8-simplify

## The Bug When running, for example: ```python import io import internetarchive as ia ia.upload("ia_bug_test", {"test.txt": StringIO("test")}, access_key="", secret_key="", verbose=True) ``` instead of the expected message: ``` uploading test.txt: 100%|███████████████████████████████████████████████████|...

This is my attempt at adding [this feature](https://github.com/jjjake/internetarchive/issues/544) myself. It appears to work, let me know if there is anything else I can do to make this change merge-worthy :)

I'd like to be able to include only files that match a glob pattern, except those matching some exclude pattern. I was unable to find a way to do that...

The previous behavior when specifying a period as a wildcard was faulty. Now a period is properly expanded to the contents of the current directory. ia_upload.py seemed to be the...

The collection pub_consumer-reports contains 239 files which show PDFs being available for download. I tried manually download pdfs for a few random files in the collection and was able to....

Add https://github.com/pre-commit/pre-commit-hooks#double-quote-string-fixer because this repo tends to favor single-quotes instead of black-standard double-quotes. Remove [`--diff`](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#diffs) option which prevents `black` from re-formatting our Python files. Move`isort` configuration into `setup.cfg`. Move `black`...

When downloading: ```shellsession $ ia download violent.-cop.-1989./Violent.Cop.1989..ia.mp4 violent.-cop.-1989.: downloading Violent.Cop.1989..ia.mp4: 4%|█▏ | 84.0M/1.96G [03:59

enhancement

➜ `pre-commit autoupdate` ``` Updating https://github.com/pre-commit/pre-commit-hooks ... updating v4.2.0 -> v4.3.0. Updating https://github.com/PyCQA/bandit ... already up to date. Updating https://github.com/psf/black ... updating 22.3.0 -> 22.6.0. Updating https://github.com/codespell-project/codespell ... already up...

the __hash__ function at https://github.com/jjjake/internetarchive/blob/master/internetarchive/item.py#L129 will fail if ujson is installed, as usjon.dumps doesnt have `check_circular` parameter