BeelGroup / Docear-Desktop

Docear's desktop version (GPL)
296 stars 90 forks source link

fixed google scholar metadata retrieval #506

Closed silberzwiebel closed 6 years ago

silberzwiebel commented 6 years ago

apparently, google scholar changed their layout which is why your scraper was confused by non-bibtex results. this lead to never-ending searches (from a user perspective) in docear. I've changed the links that are considered to be bibtex's and, more crucially, added a simple bibtex validator. the retrieval now works for me again. for the future, although I understand that there might be no future for docear, I highly suggest to add different services that don't break so easy:

  1. https://bitbucket.org/bibsonomy/bibsonomy/wiki/documentation/api/Java%20API%20Examples
  2. Possibly use https://github.com/ckreibich/scholar.py as a wrapper around an own scraper?
  3. there might be other APIs out there, I didn't check

I didn't fully grasp the whole project layout in eclipse, so I also uploaded the resulting library file to github. Maybe you could write a blogpost about this?

silberzwiebel commented 6 years ago

Oh, well, I also tried to change the version number of the library (because it is a different version so the same version number is confusing) but then end-users would have to fiddle around in some other files instead of only exchanging the .jar file.

einhander commented 6 years ago

Thank you, it work flawlessly.

Joeran commented 6 years ago

thank you very much. I will write a blog post soon