Adds citations count to documents in your Mendeley library.
Install python and pip and afterwards run:
git clone https://github.com/smidm/mendeley-add-citations
cd mendeley-add-citations
pip install -r requirements.txt
You have to register the application at Mendeley before usage.
- create account at http://dev.mendeley.com/
- register the application at http://dev.mendeley.com/myapps.html
- to redirect URL fill http://localhost:5000/oauth
- generate secret
- submit
- write to
config.yml
the client id and the secret.
To start the script run:
$ python mendeley_add_citations.py
On the first run you will be asked to go to an url where you have to grant access to your Mendeley library.
You can set a few options at the beginning of mendeley-add-citations.py
.
The whole process takes from tens of minutes to hours. There are pauses between requests to Google Scholar between 15 and 30 seconds to avoid being blocked by Google.
In case of WSGI application exception KeyError: 'state' clear cookies originating from mendeley.com.
GPL3, see LICENSE