aboutsummaryrefslogtreecommitdiffstats
path: root/python/sandcrawler
Commit message (Collapse)AuthorAgeFilesLines
* ingest: sketch out more of how 'existing' path would workBryan Newbold2020-01-141-8/+22
|
* ingest: check existing GROBID; also push results to sinkBryan Newbold2020-01-141-4/+22
|
* ingest persist skips 'existing' ingest resultsBryan Newbold2020-01-141-0/+3
|
* grobid worker fixes for newer ia lib refactorsBryan Newbold2020-01-141-3/+9
|
* small fixups to SandcrawlerPostgrestClientBryan Newbold2020-01-142-1/+11
|
* filter out archive.org and web.archive.org (until implemented)Bryan Newbold2020-01-141-1/+12
|
* SPNv2 doesn't support FTP; add a live test for non-revist FTPBryan Newbold2020-01-141-0/+10
|
* basic FTP ingest support; revist record resolutionBryan Newbold2020-01-142-35/+78
| | | | | | | - supporting revisits means more wayback hits (fewer crawls) => faster - ... but this is only partial support. will also need to work through sandcrawler db schema, etc. current status should be safe to merge/use. - ftp support via treating an ftp hit as a 200
* better print() outputBryan Newbold2020-01-102-4/+4
|
* fix trivial typoBryan Newbold2020-01-101-1/+1
|
* hack/workaround for protocols.io octet PDFsBryan Newbold2020-01-101-2/+4
|
* html extract: protocols.io, fix americanarchivistBryan Newbold2020-01-101-1/+7
|
* fix redirect replay fetch methodBryan Newbold2020-01-101-1/+4
|
* limit length of error messagesBryan Newbold2020-01-101-4/+4
|
* handle SPNv2-then-CDX lookup failuresBryan Newbold2020-01-101-6/+23
| | | | | | - use a 10 second delay if CDX result isn't immediately available. blech. - if there is a lookup failure, call it a wayback-error and move on
* SPNv2 hack specifically for elsevier lookupsBryan Newbold2020-01-101-0/+15
| | | | | I'm not really sure why this is needed, and maybe with more careful testing it isn't. But it works!
* add support for redirect lookups from replayBryan Newbold2020-01-101-9/+69
|
* more general ingest teaks and affordancesBryan Newbold2020-01-102-15/+42
|
* add sleep-and-retry workaround for CDX after SPNv2Bryan Newbold2020-01-101-1/+9
|
* more ingest HTML extraction hacksBryan Newbold2020-01-101-6/+46
|
* more live tests (for regressions)Bryan Newbold2020-01-101-0/+1
|
* disable CDX best lookup 'collapse'; leave commentBryan Newbold2020-01-101-1/+3
|
* hack: reverse sort of CDX exact seems broken with SPNv2 resultsBryan Newbold2020-01-101-1/+1
|
* many publisher-specific ingest improvementsBryan Newbold2020-01-101-4/+96
|
* improve ingest robustness (for legacy requests)Bryan Newbold2020-01-101-6/+12
|
* 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-091-25/+48
|
* lots of progress on wayback refactoringBryan Newbold2020-01-092-50/+138
| | | | | | - too much to list - canonical flags to control crawling - cdx_to_dict helper
* location comes as a string, not listBryan Newbold2020-01-091-1/+1
|
* 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-092-178/+219
|
* fix grobid tests for new wayback refactorsBryan Newbold2020-01-091-3/+3
|
* more wayback and SPN tests and fixesBryan Newbold2020-01-092-39/+153
|
* refactor CdxApiClient, add testsBryan Newbold2020-01-081-40/+130
| | | | | | - 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-071-28/+154
| | | | | | - 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
|
* 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
|
* set mimetype when PUT to minioBryan Newbold2020-01-021-0/+4
|
* fix DB import countingBryan Newbold2020-01-021-4/+5
|
* fix small errors found by pylintBryan Newbold2020-01-022-1/+2
|
* fix sandcrawler persist workersBryan Newbold2020-01-021-0/+1
|
* 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
|