Example snippet doesn't work for cited publication #490
Unanswered
BetaUliansyah
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I tried to run scholarly example command in Google Colab but got this error:
Code i run on Colab:
!pip install -U scholarly
!pip freeze | grep scholarly
from scholarly import scholarly
# Retrieve the author's data, fill-in, and print
search_query = scholarly.search_author('Steven A Cholewiak')
author = scholarly.fill(next(search_query))
print(author)
# Print the titles of the author's publications
print([pub['bib']['title'] for pub in author['publications']])
# Take a closer look at the first publication
pub = scholarly.fill(author['publications'][0])
print(pub)
# Which papers cited that publication?
print([citation['bib']['title'] for citation in scholarly.citedby(pub)])
Three print results are fine. But last print result got MaxTriesExceededException
Same result also when I use ProxyGenerator.
Beta Was this translation helpful? Give feedback.
All reactions