MicheleCotrufo/pdf2doi

Add file DOI check to URL paths

DJRHails opened this issue · 4 comments

Often a search can surface DOI descriptors in the URL path alone, for instance:

[pdf2doi]: Performing google search with key "The Experimental Generation of Interpersonal Closeness: A Procedure and Some Preliminary Findings"
[pdf2doi]: and looking at the first 6 results...
[pdf2doi]: Looking for a valid identifier in the search result #1 : https://journals.sagepub.com/doi/pdf/10.1177/0146167297234003
[pdf2doi]: Looking for a valid identifier in the search result #2 : https://journals.sagepub.com/doi/abs/10.1177/0146167297234003

Supporting this would give quicker identifications, but also allow for occasions, such as this, where the DOI can't be extracted from the actual page.

https://doi.org/10.1177/0146167297234003

That's an interesting suggestion, thanks! I will implement it in the next version!

I ended up implementing this along with a few other improvements on a fork.

Happy to create a PR to merge upstream if there is interest.

Thanks a lot for your efforts!
Yes, can you create the PR? I will check it in detail and approve it within a few days.

See #20