Closed GiddaZhang closed 3 months ago
update: setting num_processes=1
seems to solve the problem.
Duplicate of #4
@GiddaZhang num_processes=1
will make the script very slow. You can take a look at Issue #4.
https://github.com/ChenLiu-1996/CitationMap/issues/4#issuecomment-2258858972
I looked into this issue again.
It seems that, at least on my side, protecting your main function with if __name__ == '__main__'
suffices. Like the following:
from citation_map import generate_citation_map
if __name__ == '__main__':
# This is my Google Scholar ID. Replace this with your ID.
scholar_id = '3rDjnykAAAAJ'
generate_citation_map(scholar_id)
I have updated the README.
I see, it successfully addressed the issue, thx!
Code
run.py
scholarly
The terminal will keep returning the error below for many times. Also, just before the error, the output says something like author profile found, start downloading with a progress bar. Thanks for your help!
Terminal Output: