davidalgis / zotero2semanticscholar Goto Github PK
View Code? Open in Web Editor NEWSend zotero libraby to semantic scholar and add alert on them
License: GNU General Public License v3.0
Send zotero libraby to semantic scholar and add alert on them
License: GNU General Public License v3.0
My Zotero library has about 1900 articles in it. When I try to read the CSV from the GUI, the "Reading library..." text remains at the bottom for a very long time (several hours at least). I can still send the data to Semantic Scholar while the text is present, but it appears simply search and add the articles to Semantic Scholar that had been successfully read by the time I press the button (e.g., I tried to read in 1900 but ended up with 700 in my Semantic Scholar library).
I'm not sure if this is a bug and it's getting hung up at some point or, given very many hours, it will eventually read the whole CSV and work as expected.
The windows form isn't responding when scrapping is in progress.
Hello,
Thanks for this tool! I started using Semantic Scholar but the lack of Zotero import do speed up the recommendation process was a bummer. This is exactly what I needed.
Out of the box, I had an error in the SemanticScholarScrapper, just within the _check_paper_page function. I'm on Windows 11, Python 3.11, in a fresh mambaforge install. It happened with different csv files with different paper data in it.
Traceback (most recent call last):
File "C:\Users\boba4\mambaforge\envs\zz\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "c:\Users\boba4\Documents\GitHub\zotero2SemanticScholar\main.py", line 156, in _sendDataToSemanticscholar
hasAddPaper = scrapper.scrap_paper_by_title(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\boba4\Documents\GitHub\zotero2SemanticScholar\SemanticScholarScrapper.py", line 92, in scrap_paper_by_title
return self._check_paper_page(paper_title)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\boba4\Documents\GitHub\zotero2SemanticScholar\SemanticScholarScrapper.py", line 125, in _check_paper_page
h1 = [h1 for h1 in h1_list if h1.get_attribute(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range
I didn't immediately see how to solve the error, but since the function was just a safety check to make sure the right paper is imported, I just went around the code and forced the function to return true. Everything else worked perfectly and the papers have been accurate.
If anyone else has this issue, hopefully this will be of use.
Thank you again David for this helpful tool!
Thanks for this tools!
I was thinking it would be cool if there was a way to keep ones Zotero library and Semantic Scholar synced in a bidirectional way, whereby Zotero would pull new entries from ones Semantic Scholar library (avoiding the hassle of "bulk export"+"delete duplicates"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.