diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-02-12 20:32:32 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-02-12 20:32:32 -0800 |
commit | f269709baea5d6e95ab101eb8d030ecae9de7e77 (patch) | |
tree | 782e49fa84163519d1b889182c021bf7ec7e44a7 | |
parent | 94912e739c51d2fa4d5f9de878d0b0f0544a4459 (diff) | |
download | sandcrawler-f269709baea5d6e95ab101eb8d030ecae9de7e77.tar.gz sandcrawler-f269709baea5d6e95ab101eb8d030ecae9de7e77.zip |
pdftrio: small fixes from testing
-rw-r--r-- | python/sandcrawler/pdftrio.py | 4 |
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, ) |