Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for PDFs #111

Open
finnBsch opened this issue Apr 11, 2024 · 2 comments
Open

Add option for PDFs #111

finnBsch opened this issue Apr 11, 2024 · 2 comments

Comments

@finnBsch
Copy link

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?

@zolrath
Copy link
Owner

zolrath commented Apr 17, 2024

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)

@finnBsch
Copy link
Author

finnBsch commented Apr 17, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants