aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* pipenv: lock minio S3 library to <7.0.0Bryan Newbold2021-01-142-242/+196
| | | | | | | | | | | In this upstream commit: https://github.com/minio/minio-py/commit/b81883a98e6f8a09e2903609caabbf0956dd0ec9 The API for errors changes, which makes it harder for use to catch specific exceptions (such as "NoSuchKey" as a Not Found / 404 error). Instead of refactoring, just going to pin the library. We should probably remove this library for a non-implementation-specific S3 client at some point; minio seems simpler than, eg, boto3, but there is probably something ever simpler out there.
* more expansive python/.gitignore rules (all .gz)Bryan Newbold2021-01-051-1/+1
|
* doaj ingest request updates (from prod)Bryan Newbold2021-01-051-1/+5
|
* python makefile: don't duplicate 'lint' commands during 'test'Bryan Newbold2021-01-051-2/+0
|
* update to python3.8Bryan Newbold2021-01-052-400/+413
|
* pdf: yet more bad SHA1 (commiting lines from prod)Bryan Newbold2021-01-051-0/+20
|
* ia CDX: handle bad CDX rowsBryan Newbold2021-01-051-2/+4
|
* spn: more status codesBryan Newbold2020-12-211-1/+2
|
* persist: html_meta is ON CONFLICT DO UPDATEBryan Newbold2020-12-151-1/+1
|
* persist: don't expect HTML TEI-XML in result objectBryan Newbold2020-12-151-1/+1
|
* handle more wayback error conditionsBryan Newbold2020-11-201-0/+6
|
* html: more conservative parsing of element attrBryan Newbold2020-11-201-2/+4
|
* xml: catch parse errorBryan Newbold2020-11-191-3/+8
|
* spn 'forbidden' status codeBryan Newbold2020-11-121-1/+1
|
* html biblio: handle 'content not in attrs' caseBryan Newbold2020-11-121-2/+2
|
* blacklist -> denylistBryan Newbold2020-11-102-9/+9
|
* pipenv: updates (mostly for trafilatura 0.6.0)Bryan Newbold2020-11-101-25/+32
|
* DOAJ and HTML ingest tweaks from QA runBryan Newbold2020-11-102-3/+3
|
* html: handle more traf error casesBryan Newbold2020-11-081-2/+2
|
* html: more adblockBryan Newbold2020-11-081-1/+3
|
* ingest: small html_bibli typoBryan Newbold2020-11-081-1/+1
|
* html: most small platform tweaksBryan Newbold2020-11-081-5/+4
|
* move fuzzy URL match method to miscBryan Newbold2020-11-083-19/+20
|
* move some PDF URL extraction into declarative formatBryan Newbold2020-11-085-143/+177
|
* basic DOAJ ingest request conversion scriptBryan Newbold2020-11-081-0/+139
|
* ingest: default to html_biblio for PDF URL extractionBryan Newbold2020-11-081-24/+17
|
* ingest: shorted scope+platform keys; use html_biblio extraction for PDFsBryan Newbold2020-11-081-15/+35
|
* html: more robust ingest; better platform and scope detectionBryan Newbold2020-11-081-32/+96
|
* html: more extraction patterns; bugfix; skip more crossmarkBryan Newbold2020-11-081-1/+24
|
* ingest html: return better status based on sniffed scopeBryan Newbold2020-11-081-9/+31
|
* ingest tool: more ingest control argsBryan Newbold2020-11-081-1/+10
|
* spn2-internal-server-error is a problem with remote server, not SPN2Bryan Newbold2020-11-081-0/+2
|
* ingest: better non-full URL fixupBryan Newbold2020-11-081-4/+3
|
* html: small ingest improvementsBryan Newbold2020-11-082-0/+19
|
* html: start improving scope detectionBryan Newbold2020-11-082-5/+49
|
* ingest: retain html_biblio through hops; all ingest typesBryan Newbold2020-11-081-1/+13
|
* ingest tool: flag for HTML quick mode (CDX-only)Bryan Newbold2020-11-082-1/+6
|
* html: try to detect and mark XHTML (vs. HTML or XML)Bryan Newbold2020-11-082-4/+6
|
* gen_file_metadata: allow empty/null bodies (if flag set)Bryan Newbold2020-11-082-3/+5
| | | | This is for HTML sub-resources, which can validly be empty (I think)
* html: missing fetch is wayback-content-error, not wayback-errorBryan Newbold2020-11-081-2/+2
|
* direct some more warnings to sys.stderr, not stdoutBryan Newbold2020-11-081-2/+2
|
* html: handle no-capture for sub-resourcesBryan Newbold2020-11-083-9/+13
|
* ingest tool: consistency about ingest-type argBryan Newbold2020-11-081-2/+2
|
* ingest: fix null-body caseBryan Newbold2020-11-082-0/+6
| | | | Broke this in earlier refactor.
* remove unused pytype toolBryan Newbold2020-11-063-76/+25
| | | | | Having trouble getting this to install on Xenial, and we aren't even using it in tests/lint yet. Can revisit after Focal upgrade.
* many bad PDF sha1 from prodBryan Newbold2020-11-061-0/+36
|
* html: catch and report exceptions at process_hit() stageBryan Newbold2020-11-061-4/+27
|
* html: pdf and html extract similar to XMLBryan Newbold2020-11-062-22/+55
| | | | Note that the primary PDF URL extraction path is a separate code path.
* html: refactors/tweaks from testingBryan Newbold2020-11-063-17/+23
|
* ia: use newer gwb (petabox) loading classBryan Newbold2020-11-041-5/+8
| | | | This fixes zstandard WARC reading.