JustAnotherArchivist
427884af5e
Fix warnings
vor 1 Jahr
JustAnotherArchivist
38d8be57f2
Warnings are bad, mmkay?
vor 1 Jahr
JustAnotherArchivist
b644d3f454
Rebuild when .make-and-exec changes
vor 1 Jahr
JustAnotherArchivist
448e624b65
Fix UB in memcasemem when no match is found
vor 1 Jahr
JustAnotherArchivist
90616b0d5f
Improve debug compilation options
vor 1 Jahr
JustAnotherArchivist
887c063533
Add support for non-standard header capitalisation
vor 1 Jahr
JustAnotherArchivist
af25c108ba
Add support for HTTP 1.0
vor 1 Jahr
JustAnotherArchivist
6bc6c13427
Get rid of Makefile for more control; add proper debug build support
vor 1 Jahr
JustAnotherArchivist
06d8155a10
Fix --no-derive and --clobber options not working for single-part uploads
vor 1 Jahr
JustAnotherArchivist
ebfc78ef3a
More retries on item existence check
vor 1 Jahr
JustAnotherArchivist
62cee00ebe
Upload files smaller than a single part without using the multipart API
vor 1 Jahr
JustAnotherArchivist
3db8841ed1
Clear line before completion message of progress bar
vor 1 Jahr
JustAnotherArchivist
edf1dd417c
Add timeouts
vor 1 Jahr
JustAnotherArchivist
0933c2adc0
Print progress less frequently
vor 1 Jahr
JustAnotherArchivist
69c718a2b2
Not-so-new new ArchiveBot domain
vor 1 Jahr
JustAnotherArchivist
337896958a
Add support for IA_S3_{ACCESS,SECRET} environment variables
vor 1 Jahr
JustAnotherArchivist
5a8bab3a01
Fix negative ints
vor 1 Jahr
JustAnotherArchivist
232a430946
Fix single-file torrents
vor 1 Jahr
JustAnotherArchivist
568cf9ade6
Add files mode
vor 1 Jahr
JustAnotherArchivist
3b0201cdeb
Fix infohash
vor 1 Jahr
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
vor 1 Jahr
JustAnotherArchivist
e3380e6e2a
Fix 'binary' lines
vor 1 Jahr
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).
vor 1 Jahr
JustAnotherArchivist
8d2b04c56f
Add torrent-tiny
vor 1 Jahr
JustAnotherArchivist
5eae0c45c2
Add header mode (e.g. for tasks API)
vor 1 Jahr
JustAnotherArchivist
0f8a22f035
Add curl-ia
vor 1 Jahr
JustAnotherArchivist
c9bf3a93af
Filter out lines without an attribute value
vor 1 Jahr
JustAnotherArchivist
98ebc667f2
Silence BrokenPipeError
vor 1 Jahr
JustAnotherArchivist
511405bbca
Fix case sensitivity on img srcset processing
vor 1 Jahr
JustAnotherArchivist
6acea5d6eb
Add html-extract-stupid
vor 1 Jahr
JustAnotherArchivist
3440da3f9a
Fix output sometimes appearing after prompt
vor 1 Jahr
JustAnotherArchivist
75999e969c
Make --name a normal mode
vor 1 Jahr
JustAnotherArchivist
9c1f803e13
Get rid of shell quoting and print name/fullname on separate lines instead
vor 1 Jahr
JustAnotherArchivist
5ba7d26621
Fix error when no arguments are provided
vor 1 Jahr
JustAnotherArchivist
ea27e35b90
Add optional username and fullname extraction
vor 1 Jahr
JustAnotherArchivist
65a47d5091
Fix header matches potentially occurring in the record body
vor 1 Jahr
JustAnotherArchivist
10c7ab0889
Fix off-by-one error for non-chunked responses
vor 1 Jahr
JustAnotherArchivist
761606a5be
Add options to pass the URL context out through warc-dump-responses and http-response-bodies
vor 1 Jahr
JustAnotherArchivist
9228c23ae6
Fix off-by-one error on WARC-Type parsing
vor 1 Jahr
JustAnotherArchivist
a79291e081
Fix debug output for small/empty buffer
vor 1 Jahr
JustAnotherArchivist
1737842841
Add http-response-bodies
vor 1 Jahr
JustAnotherArchivist
9d60d7d3d7
Add comment about spec compliance
vor 1 Jahr
JustAnotherArchivist
2e579964f9
More debug output
vor 1 Jahr
JustAnotherArchivist
a432631d9b
Replace memmove with pointer arithmetic
vor 1 Jahr
JustAnotherArchivist
27950fdc52
Check state at the input end
vor 1 Jahr
JustAnotherArchivist
ead56c14a6
Remove dead code
vor 1 Jahr
JustAnotherArchivist
882343eee4
Fix missing trailing LF on errors
vor 1 Jahr
JustAnotherArchivist
dfc809abb4
Fix make exiting 1 if test script is missing
vor 1 Jahr
JustAnotherArchivist
acd2fab899
Add warc-dump-responses
vor 1 Jahr
JustAnotherArchivist
512ced5ebd
Make test script optional
vor 1 Jahr