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

Fetching from inspire #6229

Closed
1 task done
Turgon-Aran-Gondolin opened this issue Apr 1, 2020 · 4 comments · Fixed by #6258
Closed
1 task done

Fetching from inspire #6229

Turgon-Aran-Gondolin opened this issue Apr 1, 2020 · 4 comments · Fixed by #6258
Labels
fetcher good first issue An issue intended for project-newcomers. Varies in difficulty.
Milestone

Comments

@Turgon-Aran-Gondolin
Copy link

JabRef version 5.0/5.1 on Windows 10

Steps to reproduce the behavior:

  1. select inspire from web search, enter hep-ph/9802379, hit search button
  2. get "processing hep-ph/9802379" and nothing comes out.

I don't know how to open error console in Windows but I suspect this problem has something to do with the new inspire beta (and the old inspire is now old.inspirehep.net).

@tobiasdiez tobiasdiez added this to the v5.1 milestone Apr 2, 2020
@Siedlerchr
Copy link
Member

Confirmed. The import entries window doesn't show anything because no entries were returned (an empty list), The fetcher fails.

@Siedlerchr Siedlerchr added the good first issue An issue intended for project-newcomers. Varies in difficulty. label Apr 3, 2020
@larsgw
Copy link

larsgw commented Apr 5, 2020

INSPIRE got a new website recently, changing INSPIRE_HOST to https://old.inspirehep.net/search would probably work but only until June (2020):

https://old.inspirehep.net/search?rg=100&of=hx&p=hep-ph/9802379

There does seem to be an unofficial (or undocumented) API (use Accept: application/x-bibtex):

https://inspirehep.net/api/literature/?q=hep-ph/9802379

As for the official API, they say to contact them to add features:

At the same time, we are working on a new public JSON API and we are currently investigating the community needs: the information and features you would like to see in the new API, the applications you have in mind, and how these could be integrated with INSPIRE. Contact us at feedback@inspirehep.net.

Siedlerchr added a commit that referenced this issue Apr 6, 2020
Use application/x-bibtex header
Fixes #6229
@Siedlerchr Siedlerchr mentioned this issue Apr 6, 2020
5 tasks
@Siedlerchr
Copy link
Member

I contacted the INSPIRE team regarding the API Waiting for response now. In the meantime I implemented the bibtex header solution.

Siedlerchr added a commit that referenced this issue Apr 14, 2020
* Fix inspire fetcher

Use application/x-bibtex header
Fixes #6229

* update changelog

* extract urldownload method for easier overwriting
revert not related changes

Co-authored-by: Tobias Diez <tobiasdiez@gmx.de>
@Siedlerchr
Copy link
Member

@larsgw FYI: Just got mail from the INSPIRE team, they now have an official API:
https://github.com/inspirehep/rest-api-doc

@koppor koppor moved this to Done in Prioritization Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fetcher good first issue An issue intended for project-newcomers. Varies in difficulty.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants