JustAnotherArchivist
44260ed92e
Fix in-progress upload listing
il y a 1 an
JustAnotherArchivist
e184bd50fb
Fix unused argc and argv error
il y a 1 an
JustAnotherArchivist
b78820f8ef
Add dir-to-ia
il y a 1 an
JustAnotherArchivist
7e01aaefe2
Handle error tasks by exiting non-zero
il y a 1 an
JustAnotherArchivist
b51a7c9514
Fall back to response length when there is neither Content-Length nor Transfer-Encoding in an HTTP/1.1 response
il y a 1 an
JustAnotherArchivist
93e4140295
Add support for malformed LF HTTP responses
il y a 1 an
JustAnotherArchivist
9879db1195
Proper HTTP/1.0 support
HTTP/1.0 does not mandate a Content-Length header in responses since keep-alive connections aren't a thing; the connection closure then signals the end of the response.
This change requires the URL metadata line for processing HTTP/1.0 data, so it plays well with `warc-dump-responses --meta`.
il y a 1 an
JustAnotherArchivist
a1e2e26a3f
Fix warning
il y a 1 an
JustAnotherArchivist
2163d745fd
Fix warning
il y a 1 an
JustAnotherArchivist
ccafb1eb51
Only search within headers
il y a 1 an
JustAnotherArchivist
427884af5e
Fix warnings
il y a 1 an
JustAnotherArchivist
38d8be57f2
Warnings are bad, mmkay?
il y a 1 an
JustAnotherArchivist
b644d3f454
Rebuild when .make-and-exec changes
il y a 1 an
JustAnotherArchivist
448e624b65
Fix UB in memcasemem when no match is found
il y a 1 an
JustAnotherArchivist
90616b0d5f
Improve debug compilation options
il y a 1 an
JustAnotherArchivist
887c063533
Add support for non-standard header capitalisation
il y a 1 an
JustAnotherArchivist
af25c108ba
Add support for HTTP 1.0
il y a 1 an
JustAnotherArchivist
6bc6c13427
Get rid of Makefile for more control; add proper debug build support
il y a 1 an
JustAnotherArchivist
06d8155a10
Fix --no-derive and --clobber options not working for single-part uploads
il y a 1 an
JustAnotherArchivist
ebfc78ef3a
More retries on item existence check
il y a 1 an
JustAnotherArchivist
62cee00ebe
Upload files smaller than a single part without using the multipart API
il y a 1 an
JustAnotherArchivist
3db8841ed1
Clear line before completion message of progress bar
il y a 1 an
JustAnotherArchivist
edf1dd417c
Add timeouts
il y a 1 an
JustAnotherArchivist
0933c2adc0
Print progress less frequently
il y a 1 an
JustAnotherArchivist
69c718a2b2
Not-so-new new ArchiveBot domain
il y a 1 an
JustAnotherArchivist
337896958a
Add support for IA_S3_{ACCESS,SECRET} environment variables
il y a 1 an
JustAnotherArchivist
5a8bab3a01
Fix negative ints
il y a 1 an
JustAnotherArchivist
232a430946
Fix single-file torrents
il y a 1 an
JustAnotherArchivist
568cf9ade6
Add files mode
il y a 1 an
JustAnotherArchivist
3b0201cdeb
Fix infohash
il y a 1 an
JustAnotherArchivist
1977b237e5
Fix random BrokenPipeError on exiting Python processes
Just catching the BrokenPipeError is not sufficient. There might still be data in the stdout buffer, which then causes the following error when Python shuts down and flushes it:
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
To handle this, redirect stdout to /dev/null in the exception handler before exiting: https://docs.python.org/3.11/library/signal.html#note-on-sigpipe
il y a 1 an
JustAnotherArchivist
e3380e6e2a
Fix 'binary' lines
il y a 1 an
JustAnotherArchivist
2d4546f274
Fix errors on sscanf
%n takes a signed int so is incompatible with size_t; further, sscanf could in theory return a negative value (EOF).
il y a 1 an
JustAnotherArchivist
8d2b04c56f
Add torrent-tiny
il y a 1 an
JustAnotherArchivist
5eae0c45c2
Add header mode (e.g. for tasks API)
il y a 1 an
JustAnotherArchivist
0f8a22f035
Add curl-ia
il y a 1 an
JustAnotherArchivist
c9bf3a93af
Filter out lines without an attribute value
il y a 1 an
JustAnotherArchivist
98ebc667f2
Silence BrokenPipeError
il y a 1 an
JustAnotherArchivist
511405bbca
Fix case sensitivity on img srcset processing
il y a 1 an
JustAnotherArchivist
6acea5d6eb
Add html-extract-stupid
il y a 1 an
JustAnotherArchivist
3440da3f9a
Fix output sometimes appearing after prompt
il y a 1 an
JustAnotherArchivist
75999e969c
Make --name a normal mode
il y a 1 an
JustAnotherArchivist
9c1f803e13
Get rid of shell quoting and print name/fullname on separate lines instead
il y a 1 an
JustAnotherArchivist
5ba7d26621
Fix error when no arguments are provided
il y a 1 an
JustAnotherArchivist
ea27e35b90
Add optional username and fullname extraction
il y a 1 an
JustAnotherArchivist
65a47d5091
Fix header matches potentially occurring in the record body
il y a 1 an
JustAnotherArchivist
10c7ab0889
Fix off-by-one error for non-chunked responses
il y a 1 an
JustAnotherArchivist
761606a5be
Add options to pass the URL context out through warc-dump-responses and http-response-bodies
il y a 1 an
JustAnotherArchivist
9228c23ae6
Fix off-by-one error on WARC-Type parsing
il y a 1 an
JustAnotherArchivist
a79291e081
Fix debug output for small/empty buffer
il y a 1 an