Add option for PDFs
Opened this issue · 2 comments
I use this plugin to fetch links to academic literature online. Sometimes, this link will lead to a .pdf file. Currently, this yield "request rejected". Would it be possible to add this feature for .pdfs?
Unfortunately we'd have to download the whole pdf to be able to attempt to extract a title out of it.
Hypothetically we could do something less bandwidth intensive like using the filename as the link title, would that work for you?
Say http://www.fakesite.com/This_is_the_file.pdf
becomes [This_is_the_file.pdf](http://www.fakesite.com/This_is_the_file.pdf)
I see. Unfortunately, that won't really help in my case - I am referring to arxiv articles (e.g. https://arxiv.org/pdf/2206.08077.pdf) where the pdf file name is pretty much useless, I'd rather want the pdf title. I guess it should be possible to find this in the PDF's metadata, can one access that without downloading the whole pdf?