error doing a general search from documentation
Hello,
i dowloaded and install PyScopus as instructed, assigned a Scopus API key, but when i run the example provided below i get an error:
search_df = scopus.search("KEY(interdisciplinary collaboration)", count=20)
Traceback (most recent call last):
File "
copus.py", line 56, in search
result_df, total_count = search_scopus(self.apikey, query, type, view=view)
File "...\lib\site-packages\pyscopus\tils.py", line 388, in _search_scopus
total_count = int(js['search-results']['opensearch:totalResults'])
KeyError: 'search-results'
try ... search_df = scopus.search("KEY(interdisciplinary collaboration)", count=20, view='STANDARD')
The same issue.
Including view='STANDARD' worked for me.