From f269709baea5d6e95ab101eb8d030ecae9de7e77 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 12 Feb 2020 20:32:32 -0800 Subject: pdftrio: small fixes from testing --- python/sandcrawler/pdftrio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/sandcrawler/pdftrio.py b/python/sandcrawler/pdftrio.py index a2eedd8..e995792 100644 --- a/python/sandcrawler/pdftrio.py +++ b/python/sandcrawler/pdftrio.py @@ -29,9 +29,9 @@ class PdfTrioClient(object): try: pdftrio_response = requests.post( - self.host_url + "/classify/pdf/all", + self.host_url + "/classify/research-pub/all", files={ - 'pdf': blob, + 'pdf_content': blob, }, timeout=30.0, ) -- cgit v1.2.3