aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* handle UnicodeDecodeError in the other GET instanceBryan Newbold2020-01-151-0/+2
|
* increase SPNv2 polling timeout to 4 minutesBryan Newbold2020-01-151-1/+3
|
* make failed replay fetch an error, not assert errorBryan Newbold2020-01-151-1/+2
|
* improve sentry reporting with 'release' git hashBryan Newbold2020-01-152-2/+5
|
* wayback replay: catch UnicodeDecodeErrorBryan Newbold2020-01-151-0/+2
| | | | | | | | In prod, ran in to a redirect URL like: b'/web/20200116043630id_/https://mediarep.org/bitstream/handle/doc/1127/Barth\xe9l\xe9my_2015_Life_and_Technology.pdf;jsessionid=A9EFB2798846F5E14A8473BBFD6AB46C?sequence=1' which broke requests.
* persist: fix dupe field copyingBryan Newbold2020-01-151-1/+8
| | | | | | In testing hit: AttributeError: 'str' object has no attribute 'get'
* persist worker: implement updated ingest result semanticsBryan Newbold2020-01-152-12/+17
|
* clarify ingest result schema and semanticsBryan Newbold2020-01-153-7/+32
|
* pass through revisit_cdxBryan Newbold2020-01-152-5/+21
|
* fix revisit resolutionBryan Newbold2020-01-151-4/+12
| | | | | Returns the *original* CDX record, but keeps the terminal_url and terminal_sha1hex info.
* add postgrest checks to test mocksBryan Newbold2020-01-141-1/+9
|
* tests: don't use localhost as a responses mock hostBryan Newbold2020-01-142-6/+6
|
* bulk ingest file request topic supportBryan Newbold2020-01-141-1/+7
|
* 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-to-kafka support in ingest workerBryan Newbold2020-01-141-0/+6
|
* 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-142-0/+26
|
* more ftp status 226 supportBryan Newbold2020-01-145-9/+23
|
* add live tests for ftp, revisitsBryan Newbold2020-01-141-1/+36
|
* 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
* arabesque2ingestrequest: ingest type flagBryan Newbold2020-01-141-1/+4
|
* 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-102-0/+42
|
* 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
|
* 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