-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Rewrite ACM fetcher, because of ACM web site changes #5804
Comments
The fetcher has to be rewritten. See zotero/translators#2101 vor some code ideas. (Thank you @zuphilip for the pointer) |
This issue has been inactive for half a year. Since JabRef is constantly evolving this issue may not be relevant any longer and it will be closed in two weeks if no further activity occurs. As part of an effort to ensure that the JabRef team is focusing on important and valid issues, we would like to ask if you could update the issue if it still persists. This could be in the following form:
Thank you for your contribution! |
We need the ACM fetcher - or we need to drop it. |
Hello, is this issue still available? And if is available I would like to take it |
Go for it! :-) If you have questions, don't hesitate to ask at our gitter dev chat ( https://gitter.im/JabRef/jabref ). If you want to learn more about JabRef-programming in general have a look at our dev docs ( https://devdocs.jabref.org/ ) |
…MPortalParser into one folder
Nice, I am gonna start working on it |
@JofielB How are your implementation efforts going? |
@JofielB Happy new year. May I ask for some progress regarding that issue? You can get some inspiration from JabRef#476 |
@koppor Hello and Happy new year. I am sorry for taking me so long to respond to this. I wasn't able to have any kind of progress and I am not pretty sure that I will be able to keep working on this issue. |
Hello, can I work in this issue ? I am new to open source software and want to contribute |
@jvera701 After checking @JofielB's reply, it is very OK for you to try. Always keep test-driven development in your mind and try to use the "play" button in IntelliJ. See https://www.jetbrains.com/help/idea/performing-tests.html for details. |
I am sorry, I am replying this late but I couldn't make any substantial progress .and I am not sure I can continue working on this.. Writing this feature was harder than I first thought. |
I think I got some clues. Referring to zotero/translators#2101, there is an API to query The format of URL is: The query result is a JSON file. And the After that, we can extract all the information needed from JSON. But in the original fetcher, we use keywords to search, such as Hope this can give help. |
One solution is to get the DOI from the HTML results of the search page, then use the export interface to get the JSON format data, and finally parse them. Search API: https://dl.acm.org/action/doSearch?AllField= |
Yes, I have tried. The difficulty is how to build a script to get DOI from the web page. ACM digital lib uses some anti-crawler techniques. |
I used a browser and curl for testing. The browser access is all normal. The curl response requires cookies, so the cookie should be included in the request. C:\Users\ruan>curl https://dl.acm.org/action/doSearch?AllField=lidar
The URL has moved <a href="https://dl.acm.org/action/doSearch?AllField=lidar&cookieSet=1">here</a> |
Nice work. But if I remember correctly, the old ACM fetcher searches in "ACM Guide to Computing Literature", which means the query URL is https://dl.acm.org/action/doSearch?AllField=lidar&expand=all |
Thank you for your reminder, but I did not find this in the original code file. |
Test query: https://dl.acm.org/exportformats_search.cfm?query=%28%25252Bjabref%2520%25252Barchitectural%2520%25252Bchurn%29&within=owners.owner%3DGUIDE&expformat=bibtex
Asked on twitter:
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>The text was updated successfully, but these errors were encountered: