aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
...
* add more slow PDF hashesBryan Newbold2020-07-051-0/+2
|
* add another bad PDF sha1hexBryan Newbold2020-07-021-0/+1
|
* another bad PDF SHA-1Bryan Newbold2020-06-301-0/+1
|
* hack to unblock thumbnail processing pipelineBryan Newbold2020-06-291-0/+16
| | | | | | Some PDFs taking 10+ minutes to process, causing kafka exceptions and consumer churn. Not sure why kafka json pusher timeouts are not catching these.
* customize timeout per worker; 120sec for pdf-extractBryan Newbold2020-06-293-2/+4
| | | | | This is a stab-in-the-dark attempt to resolve long timeouts with this worker in prod.
* handle empty fetched blobBryan Newbold2020-06-271-1/+6
|
* CDX KeyError as WaybackError from fetch workerBryan Newbold2020-06-261-1/+1
|
* handle None 'metadata' field correctlyBryan Newbold2020-06-261-1/+1
|
* handle non-success case of parsing extract from JSON/dictBryan Newbold2020-06-261-1/+1
|
* report revisit non-200 as a WaybackErrorBryan Newbold2020-06-261-7/+7
|
* Revert "simpler handling of null PDF text pages"Bryan Newbold2020-06-251-4/+11
| | | | | | This reverts commit 254f24ad6566c9d4b5814868911b604802847b58. Attribute was actually internal to text() call, not a None page.
* simpler handling of null PDF text pagesBryan Newbold2020-06-251-11/+4
|
* pdfextract: attributerror with text extractionBryan Newbold2020-06-251-4/+12
|
* catch UnicodeDecodeError in pdfextractBryan Newbold2020-06-251-1/+10
|
* don't nest generic fetch errors under pdf_trioBryan Newbold2020-06-251-12/+6
| | | | This came from sloppy refactoring (and missing test coverage)
* pdfextract: handle too-large fulltextBryan Newbold2020-06-251-0/+17
|
* another bad/non PDF test; catch correct errorBryan Newbold2020-06-252-1/+6
| | | | | | This test doesn't actually catch the error. I'm not sure why type checks don't discover the "LockedDocumentError not part of poppler" issue though.
* pdfextract: catch poppler.LockedDocumentErrorBryan Newbold2020-06-251-1/+1
|
* pdfextract support in ingest workerBryan Newbold2020-06-253-1/+66
|
* poppler: correct RGBA buffer endian-nessBryan Newbold2020-06-252-2/+2
|
* pdfextract_tool fixes from prod usageBryan Newbold2020-06-252-3/+6
|
* fix tests for page0_height/widthBryan Newbold2020-06-251-2/+2
|
* pdfextract: fix pdf_extra key namesBryan Newbold2020-06-251-2/+2
|
* ensure pdf_meta isn't passed an empty dict()Bryan Newbold2020-06-251-1/+4
|
* args.kafka_env refactor didn't happen (yet)Bryan Newbold2020-06-251-2/+2
|
* s3-only mode persist workers use different consumer groupBryan Newbold2020-06-251-2/+8
|
* changes from prodBryan Newbold2020-06-252-4/+18
|
* sandcrawler_worker: remove duplicate run_pdf_extract()Bryan Newbold2020-06-251-29/+0
|
* pdfextract workerBryan Newbold2020-06-251-1/+34
|
* pdfextract: don't compress thumbnail outputBryan Newbold2020-06-251-1/+1
|
* pipenv: python-poppler 0.2.1Bryan Newbold2020-06-252-49/+51
|
* fixes and tweaks from testing locallyBryan Newbold2020-06-176-18/+134
|
* fixes to pdfextract_toolBryan Newbold2020-06-171-12/+8
|
* tweak kafka topic names and seaweedfs layoutBryan Newbold2020-06-172-10/+12
|
* make process_pdf() more robust to parse errorsBryan Newbold2020-06-171-5/+29
|
* note about text layout with pdf extractionBryan Newbold2020-06-171-0/+8
|
* lint fixesBryan Newbold2020-06-174-7/+9
|
* rename pdf tools to pdfextractBryan Newbold2020-06-173-0/+0
|
* coverage-html makefile targetBryan Newbold2020-06-171-0/+3
|
* ignore PIL deprecation warningsBryan Newbold2020-06-171-0/+1
|
* partial test coverage of pdf extract workerBryan Newbold2020-06-172-6/+70
|
* fix coverage commandBryan Newbold2020-06-172-2/+4
|
* update grobid2json with type annotationsBryan Newbold2020-06-171-94/+110
|
* remove unused common.pyBryan Newbold2020-06-172-139/+0
|
* better DeprecationWarning filtersBryan Newbold2020-06-171-3/+4
|
* update Makefile from fatcat-scholar tweaks/commandsBryan Newbold2020-06-171-3/+21
|
* WIP on pdf_tool.pyBryan Newbold2020-06-171-0/+137
|
* add new pdf workers/persistersBryan Newbold2020-06-174-2/+214
|
* pdf: mypy and typo fixesBryan Newbold2020-06-172-15/+22
|
* workers: refactor to pass key to process()Bryan Newbold2020-06-176-20/+28
|