spatie / pdf-to-text

Extract text from a pdf

Home Page:https://freek.dev/348-a-package-to-extract-text-from-a-pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not read exception when reading from url

TheAngelM97 opened this issue · comments

I installed and configured everything and managed to get text from a local file.
But when I try to get it from a public url it returns a

Could not read exception

Here's my code: (I am using mac)

Throws exception
return Pdf::getText('{any public url to a pdf file}', '/usr/local/bin/pdftotext');

Works fine
return Pdf::getText('{local file}', '/usr/local/bin/pdftotext');

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.

I have the same issue

Bump. Same issue too.