aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* ingest: fix WaybackContentError typoBryan Newbold2020-10-211-1/+1
|
* ingest: add a check for blocked-cookie before trying PDF url extractionBryan Newbold2020-10-211-0/+11
|
* differential wayback-error from wayback-content-errorBryan Newbold2020-10-217-18/+22
| | | | | | The motivation here is to distinguish errors due to current content in wayback (eg, in WARCs) from operational errors (eg, wayback machine is down, or network failures/disruption).
* persist PDF extraction in ingest pipelineBryan Newbold2020-10-201-4/+16
| | | | | Ooof, didn't realize that this wasn't happening. Explains a lot of missing thumbnails in scholar!
* ingest: add a cdx-error slowdown delayBryan Newbold2020-10-191-0/+3
|
* SPN CDX delay now seems reasonable; increase to 40sec to catch mostBryan Newbold2020-10-191-1/+1
|
* ingest: fix old_failure datetimeBryan Newbold2020-10-191-1/+1
|
* CDX: when retrying, do so every 3 seconds up to limitBryan Newbold2020-10-191-5/+9
|
* ingest: try SPNv2 for no-capture and old failuresBryan Newbold2020-10-191-1/+5
|
* SPN: more verbose status loggingBryan Newbold2020-10-191-0/+4
|
* ingest: disable soft404 and non-hit SPNv2 retriesBryan Newbold2020-10-191-4/+5
| | | | | | This might have made sense at some point, but I had forgotten about this code path and it makes no sense now. Has been resulting in very many extraneous SPN requests.
* CDX: revert post-SPN CDX lookup retry to 10 secondsBryan Newbold2020-10-191-1/+1
| | | | | Hoping to have many fewer SPN requests and issues, so willing to wait longer for each.
* ingest: catch wayback-fail-after-SPN as separate statusBryan Newbold2020-10-191-4/+17
|
* SPN: better log line when starting a requestBryan Newbold2020-10-191-0/+1
|
* SPN: look for non-200 CDX responsesBryan Newbold2020-10-191-1/+1
| | | | Suspect that this has been the source of many `spn2-cdx-lookup-failure`
* SPN: better check for partial URLs returnedBryan Newbold2020-10-191-2/+2
|
* CDX fetch: more permissive fuzzy/normalization checkBryan Newbold2020-10-191-3/+9
| | | | | | | This might the source of some `spn2-cdx-lookup-failure`. Wayback/CDX does this check via full-on SURT, with many more changes, and potentially we should be doing that here as well.
* ingest: experimentally reduce CDX API retry delayBryan Newbold2020-10-171-1/+1
| | | | | | | This code path is only working about 1/7 times in production. Going to try with a much shorter retry delay and see if we get no success with that. Considering also just disabling this attempt all together and relying on retries after hours/days.
* ingest: handle cookieAbsent and partial SPNv2 URL reponse cases betterBryan Newbold2020-10-171-0/+31
|
* and another sha1Bryan Newbold2020-10-131-0/+1
|
* another day, another bad PDF sha1Bryan Newbold2020-10-131-0/+1
|
* store no-capture URLs in terminal_urlBryan Newbold2020-10-122-3/+3
|
* another bad PDF sha1Bryan Newbold2020-10-111-0/+1
|
* yet more bad sha1 PDFs to skipBryan Newbold2020-10-101-0/+20
|
* ingest: small bugfix to print pdfextract status on SUCCESSBryan Newbold2020-09-171-1/+1
|
* more bad PDF sha1Bryan Newbold2020-09-171-0/+2
|
* yet another broken PDF (sha1)Bryan Newbold2020-09-161-0/+1
|
* html: handle JMIR URL patternBryan Newbold2020-09-151-0/+6
|
* skip citation_pdf_url if it is a link loopBryan Newbold2020-09-141-2/+8
| | | | This may help get around link-loop errors for a specific version of OJS
* html parse: add another generic fulltext patternBryan Newbold2020-09-141-1/+10
|
* ingest: treat text/xml as XHTML in pdf ingestBryan Newbold2020-09-141-1/+1
|
* more bad SHA1 PDFBryan Newbold2020-09-021-0/+2
|
* another bad PDF sha1Bryan Newbold2020-09-011-0/+1
|
* another bad PDF sha1Bryan Newbold2020-08-241-0/+1
|
* html: handle embed with mangled 'src' attributeBryan Newbold2020-08-241-1/+1
|
* another bad PDF sha1Bryan Newbold2020-08-171-0/+1
|
* another bad PDF sha1Bryan Newbold2020-08-151-0/+1
|
* more bad sha1Bryan Newbold2020-08-141-0/+1
|
* yet more bad PDF sha1Bryan Newbold2020-08-141-0/+2
|
* more bad SHA1Bryan Newbold2020-08-131-0/+2
|
* yet another PDF sha1Bryan Newbold2020-08-121-0/+1
|
* another bad sha1; maybe the last for this batch?Bryan Newbold2020-08-121-0/+1
|
* more bad sha1Bryan Newbold2020-08-111-0/+2
|
* additional loginwall patternsBryan Newbold2020-08-111-0/+2
|
* more SHA1Bryan Newbold2020-08-111-0/+2
|
* Revert "ingest: reduce CDX retry_sleep to 3.0 sec (after SPN)"Bryan Newbold2020-08-111-1/+1
| | | | | | | This reverts commit 92bf9bc28ac0eacab2e06fa3b25b52f0882804c2. In practice, in prod, this resulted in much larger spn2-cdx-lookup-failure error rates.
* ingest: reduce CDX retry_sleep to 3.0 sec (after SPN)Bryan Newbold2020-08-111-1/+1
| | | | | | | | As we are moving towards just retrying entire ingest requests, we should probably just make this zero. But until then we should give SPN CDX a small chance to sync before giving up. This change expected to improve overall throughput.
* ingest: actually use force_get flag with SPNBryan Newbold2020-08-111-0/+13
| | | | | | The code path was there, but wasn't actually flagging in our most popular daily domains yet. Hopefully will make a big difference in SPN throughput.
* check for simple URL patterns that are usually paywalls or loginwallsBryan Newbold2020-08-112-0/+29
|
* ingest: check for URL blocklist and cookie URL patterns on every hopBryan Newbold2020-08-111-0/+13
|