Skip to content

Works without specifying port

Latest
Compare
Choose a tag to compare
@apmoore1 apmoore1 released this 27 Mar 08:46

In the previous version you always had to specify a port e.g.:

from science_parse_api.api import parse_pdf

host = 'http://127.0.0.1'
port = '8080'
output_dict = parse_pdf(host, _file, port=port)

If you ran it without the port it would raise an error e.g.:

from science_parse_api.api import parse_pdf

host = 'http://127.0.0.1:8080'
output_dict = parse_pdf(host, _file)

This has now been corrected in this version.