aboutsummaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* pipenv: correct poppler; update lockfileBryan Newbold2020-06-162-76/+255
|
* pipenv: flake8, pytype, blackBryan Newbold2020-06-161-0/+7
|
* pipenv: pillow and poppler (for PDF extraction)Bryan Newbold2020-06-161-0/+2
|
* initial work on PDF extraction workerBryan Newbold2020-06-162-1/+158
| | | | | This worker fetches full PDFs, then extracts thumbnails, raw text, and PDF metadata. Similar to GROBID worker.
* pdf_thumbnail script: demonstrate PDF thumbnail generationBryan Newbold2020-06-161-0/+35
|
* refactor worker fetch code into wrapper classBryan Newbold2020-06-163-141/+111
|
* rename KafkaGrobidSink -> KafkaCompressSinkBryan Newbold2020-06-163-3/+3
|
* remove deprecated kafka_grobid.py workerBryan Newbold2020-05-261-331/+0
| | | | | | All use of pykafka was refactored to use the confluent library some time ago. And all kafka workers have been using the newer sandcrawler style worker for some time.
* pipenv: remove old python3.5 cruft; add mypyBryan Newbold2020-05-262-185/+196
|