Reputation: 113
I've got a URL that downloads the pdf as response. I want to download the pdf file using python request module and want to load the same response in the tabula module's function read_pdf in order to extract the pdfs from the pdf file. However, I want to do this in memory (without saving in disk) but the read_pdf function takes a parameter input_path which should be str, path object, or file-like object). Can anyone suggest a way to convert the response object into a file-like object?
PS:
Upvotes: 0
Views: 413