aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
...
* many publisher-specific ingest improvementsBryan Newbold2020-01-101-4/+96
|
* improve ingest robustness (for legacy requests)Bryan Newbold2020-01-101-6/+12
|
* update Pipfile to be xenial-compatibleBryan Newbold2020-01-092-16/+26
|
* support forwarding url types other than pdf_urlBryan Newbold2020-01-091-4/+5
|
* wayback: datetime mismatch as an errorBryan Newbold2020-01-091-1/+2
|
* fill in more html extraction techniquesBryan Newbold2020-01-091-7/+6
|
* refactor ingest to a loop, allowing multiple hopsBryan Newbold2020-01-092-27/+57
|
* add (skipped) live tests for wayback servicesBryan Newbold2020-01-091-0/+73
|
* add ingest test fileBryan Newbold2020-01-091-0/+120
| | | | Forgot to commit earlier!
* lots of progress on wayback refactoringBryan Newbold2020-01-093-51/+145
| | | | | | - too much to list - canonical flags to control crawling - cdx_to_dict helper
* location comes as a string, not listBryan Newbold2020-01-092-5/+5
|
* fix http/https issue with GlobalWayback libraryBryan Newbold2020-01-091-1/+2
|
* wayback fetch via replay; confirm hashes in crawl_resource()Bryan Newbold2020-01-091-5/+40
|
* wrap up basic (locally testable) ingest refactorBryan Newbold2020-01-093-182/+267
|
* cli: allow multiple ingest single typesBryan Newbold2020-01-091-3/+4
|
* example.env: more required varsBryan Newbold2020-01-091-2/+7
|
* basic elife+plos extraction testsBryan Newbold2020-01-093-0/+4842
| | | | | Ripped out some HTML, but these could have been minimized even further to keep repository from growing large.
* fix grobid test (ISO-8859-1 encoding)Bryan Newbold2020-01-091-6/+4
| | | | Also changes for wayback refactor
* fix grobid tests for new wayback refactorsBryan Newbold2020-01-093-15/+17
|
* more wayback and SPN tests and fixesBryan Newbold2020-01-094-52/+220
|
* pipenv: mock testing libraryBryan Newbold2020-01-092-309/+325
|
* refactor CdxApiClient, add testsBryan Newbold2020-01-082-40/+240
| | | | | | - always use auth token and get full CDX rows - simplify to "fetch" (exact url/dt match) and "lookup_best" methods - all redirect stuff will be moved to a higher level
* refactor SavePaperNowClient and add testBryan Newbold2020-01-072-28/+314
| | | | | | - response as a namedtuple - "remote" errors (aka, SPN API was HTTP 200 but returned error) aren't an exception
* remove SPNv1 code pathsBryan Newbold2020-01-072-65/+25
|
* TODO: check out python ratelimit libraryBryan Newbold2020-01-021-1/+1
|
* handle grobid2json errors in calling code insteadBryan Newbold2020-01-021-1/+7
|
* db: move duplicate row filtering into DB insert helpersBryan Newbold2020-01-022-15/+26
|
* remove unused filter in grobid workerBryan Newbold2020-01-021-1/+0
|
* fix dict typoBryan Newbold2020-01-021-1/+1
|
* improvements to grobid persist workerBryan Newbold2020-01-021-13/+16
|
* update persist worker invocation to use batchesBryan Newbold2020-01-021-15/+55
|
* set mimetype when PUT to minioBryan Newbold2020-01-021-0/+4
|
* fix DB import countingBryan Newbold2020-01-021-4/+5
|
* include an example environment fileBryan Newbold2020-01-021-0/+2
|
* teixml2json test update for skipping null JSON keysBryan Newbold2020-01-021-10/+1
|
* fix small errors found by pylintBryan Newbold2020-01-022-1/+2
|
* fix sandcrawler persist workersBryan Newbold2020-01-022-8/+37
|
* filter ingest results to not have key conflicts within batchBryan Newbold2020-01-021-1/+16
| | | | | This handles a corner case with ON CONFLICT ... DO UPDATE where you can't do multiple such updates in the same batch transaction.
* db: fancy insert/update separation using postgres xmaxBryan Newbold2020-01-022-24/+45
|
* add PersistGrobidDiskWorkerBryan Newbold2020-01-022-0/+60
| | | | To help with making dumps directly from Kafka (eg, for partner delivery)
* flush out minio helper, add to grobid persistBryan Newbold2020-01-023-24/+91
|
* implement counts properly for persist workersBryan Newbold2020-01-021-15/+19
|
* improve DB helpersBryan Newbold2020-01-021-26/+81
| | | | | - return insert/update row counts - implement ON CONFLICT ... DO UPDATE on some tables
* be more parsimonious with GROBID metadataBryan Newbold2020-01-022-3/+20
| | | | | Because these are getting persisted in database (as well as kafka), don't write out empty keys.
* start work on DB connector and minio clientBryan Newbold2020-01-022-0/+200
|
* have JsonLinePusher continue on JSON decode errors (but count)Bryan Newbold2020-01-021-1/+5
|
* start work on persist workers and toolBryan Newbold2020-01-023-5/+336
|
* update TODOBryan Newbold2019-12-261-1/+7
|
* basic arabesque2ingestrequest scriptBryan Newbold2019-12-241-0/+69
|
* commit grobid_tool transform modeBryan Newbold2019-12-221-0/+27
| | | | Had some stale code on aitio with this change I forgot to commit. Oops!