aboutsummaryrefslogtreecommitdiffstats
path: root/python/sandcrawler/ia.py
Commit message (Collapse)AuthorAgeFilesLines
* pass through revisit_cdxBryan Newbold2020-01-151-5/+18
|
* fix revisit resolutionBryan Newbold2020-01-151-4/+12
| | | | | Returns the *original* CDX record, but keeps the terminal_url and terminal_sha1hex info.
* 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-141-34/+77
| | | | | | | - 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-101-3/+3
|
* fix redirect replay fetch methodBryan Newbold2020-01-101-1/+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-101-5/+18
|
* add sleep-and-retry workaround for CDX after SPNv2Bryan Newbold2020-01-101-1/+9
|
* 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
|
* wayback: datetime mismatch as an errorBryan Newbold2020-01-091-1/+2
|
* lots of progress on wayback refactoringBryan Newbold2020-01-091-39/+123
| | | | | | - 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-091-19/+23
|
* more wayback and SPN tests and fixesBryan Newbold2020-01-091-38/+152
|
* 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-071-35/+1
|
* handle SPNv1 redirect loopBryan Newbold2019-11-141-0/+2
|
* handle SPNv2 polling timeoutBryan Newbold2019-11-141-6/+10
|
* status_forcelist is on session, not requestBryan Newbold2019-11-131-2/+2
|
* handle SPNv1 remote server HTTP status codes betterBryan Newbold2019-11-131-8/+15
|
* handle requests (http) redirect loop from waybackBryan Newbold2019-11-131-1/+4
|
* clean up redirect-following CDX API pathBryan Newbold2019-11-131-8/+15
|
* have SPN client differentiate between SPN and remote errorsBryan Newbold2019-11-131-2/+10
| | | | | | | | This is only a partial implementation. The requests client will still make way too many SPN requests trying to figure out if this is a real error or not (eg, if remote was a 502, we'll retry many times). We may just want to switch to SPNv2 for everything.
* more progress on file ingestBryan Newbold2019-11-131-6/+17
|
* much progress on file ingest pathBryan Newbold2019-10-221-15/+73
|
* lots of grobid tool implementation (still WIP)Bryan Newbold2019-09-261-0/+135