aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-02-12 20:32:32 -0800
committerBryan Newbold <bnewbold@archive.org>2020-02-12 20:32:32 -0800
commitf269709baea5d6e95ab101eb8d030ecae9de7e77 (patch)
tree782e49fa84163519d1b889182c021bf7ec7e44a7
parent94912e739c51d2fa4d5f9de878d0b0f0544a4459 (diff)
downloadsandcrawler-f269709baea5d6e95ab101eb8d030ecae9de7e77.tar.gz
sandcrawler-f269709baea5d6e95ab101eb8d030ecae9de7e77.zip
pdftrio: small fixes from testing
-rw-r--r--python/sandcrawler/pdftrio.py4
1 files changed, 2 insertions, 2 deletions
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,
)