pdfminer / pdfminer.six

Community maintained fork of pdfminer - we fathom PDF
https://pdfminersix.readthedocs.io
MIT License
5.78k stars 915 forks source link

Input from stdin for pdf2txt.py ? #517

Open Arthur111 opened 3 years ago

Arthur111 commented 3 years ago

input from standard input (stdin)

Download pdf from the internet and avoiding to create a pdf file.

Internet > pdf2txt.py > file.txt

curl ... | pdf2txt.py -

argument "-" as filename , means standard input (stdin)

Thank you

pietermarsman commented 3 years ago

Hi @Arthur111, thanks for the suggestion!

In the mean time, perhaps one of these solutions work for you.