-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
[BUG] mainURL
can not be updated automatically.
#506
Comments
Paperlib's design philosophy is that Paperlib is the sole entry for papers, and users should hardly ever need to open a file explorer to access their papers. |
Thanks for you detailed explanation! Is there a method available to retrieve the existing entry or entries when a user drags PDFs into the main UI? I've reviewed the developer documentation, but it appears there's no API provided for obtaining this information. Paperlib is incredibly convenient and robust, and I'd like to incorporate this as an extension for users who wish to replace PDFs in a batched way. |
Emm, are you trying to check if there are any duplicated papers to your to-be-import PDFs in the library? |
Not only check, i want to get |
So basically, what you want to do is that:
Right? |
Yeap. U r right. |
OK. So there is no API for this, but I think you can do it by combining multiple APIs.
For querySentence, it's similar to the smartfilter, you can explore it there: |
Describe the bug
If the
mainURL
of a paper is missing or invalid (the pdf file is renamed of deleted), when dragging a same PDF with a different file name (user-defined) into Paperlib, the corresponding paper entry dose not update itsmainURL
.The
import
does not work too.I have to use
choose
button to relocated the new pdf file for the existing paper entry, then Paperlib will create a new pdf file with a fixed file name and use it asmainURL
.Now i have to delete the old pdf with user-defined file name.
The line
paperEntityDraft.setValue("mainURL", payload.value);
inpdf-entry-scraper.ts
ofentry-scrape-extension
seems can updatemainURL
, but it does not work.To Reproduce
Steps to reproduce the behavior:
mainURL
is invalid and 'Preview' does not workmainURL
is not updated and the 'Preview' does not workScreenshots or Log
None
System (please complete the following information):
Additional context
None
The text was updated successfully, but these errors were encountered: