zhiyzuo / python-scopus

PyScopus
http://zhiyzuo.github.io/python-scopus/
MIT License
23 stars 29 forks source link

IndexError in simple retrieve_author() query #4

Closed Michael-E-Rose closed 7 years ago

Michael-E-Rose commented 7 years ago

I wanted to retrieve author details for Ahmet K. Karagozoglu with ID 6507550943:

>>> info = scopus.retrieve_author("6507550943")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/pyscopus/pyscopus.py", line 103, in retrieve_author
  File "build/bdist.linux-x86_64/egg/pyscopus/utils.py", line 244, in _parse_author_retrieval
IndexError: list index out of range

I'm on Ubuntu 14.04 using with Python 2.7. I however don't know which version of pyscopus I am on as __version__ is not defined.

zhiyzuo commented 7 years ago

Updated version fixed this issue.