Skip to content

Author search blocked by Google #569

Open
@alekseybelikov

Description

@alekseybelikov

Describe the bug
Author search blocked by Google

To Reproduce

from scholarly import scholarly

# Retrieve the author's data, fill-in, and print
# Get an iterator for the author results
search_query = scholarly.search_author('Steven A Cholewiak')
# Retrieve the first result from the iterator
first_author_result = next(search_query)
scholarly.pprint(first_author_result)

2025-05-11 13:51:33,811 - INFO - Getting https://scholar.google.com/citations?hl=en&view_op=search_authors&mauthors=Steven%20A%20Cholewiak
2025-05-11 13:51:35,408 - INFO - HTTP Request: GET https://scholar.google.com/citations?hl=en&view_op=search_authors&mauthors=Steven%20A%20Cholewiak "HTTP/1.1 302 Found"
2025-05-11 13:51:35,481 - INFO - HTTP Request: GET https://accounts.google.com/Login?hl=en&continue=https://scholar.google.com/citations%3Fhl%3Den%26view_op%3Dsearch_authors%26mauthors%3DSteven%2520A%2520Cholewiak&service=citations "HTTP/1.1 302 Found"
2025-05-11 13:51:35,529 - INFO - HTTP Request: GET https://accounts.google.com/InteractiveLogin?continue=https://scholar.google.com/citations?hl%3Den%26view_op%3Dsearch_authors%26mauthors%3DSteven%2520A%2520Cholewiak&hl=en&service=citations&ifkv=ASKV5MiDdp9s76y10mF7QYoVRbBRi3tb3FF_ZVdN9BvxXzaABqA4aC-ZoFFkPH09yxni5k7g5D0vww "HTTP/1.1 302 Moved Temporarily"
2025-05-11 13:51:35,582 - INFO - HTTP Request: GET https://accounts.google.com/v3/signin/identifier?continue=https%3A%2F%2Fscholar.google.com%2Fcitations%3Fhl%3Den%26view_op%3Dsearch_authors%26mauthors%3DSteven%2520A%2520Cholewiak&hl=en&ifkv=ASKV5Mh-6rf0iFUy8wTCtqoNW-KAPOcBm4zKiKhDdpawNgv3YhNc86PfToW0L-oGpSMsmdgYmy_Ing&service=citations&flowName=GlifWebSignIn&flowEntry=ServiceLogin&dsh=S-1575736983%3A1746967895547990 "HTTP/1.1 200 OK"
2025-05-11 13:51:35,713 - INFO - Found 0 authors
2025-05-11 13:51:35,715 - INFO - No more author pages


StopIteration Traceback (most recent call last)
Cell In[11], line 7
5 search_query = scholarly.search_author('Steven A Cholewiak')
6 # Retrieve the first result from the iterator
----> 7 first_author_result = next(search_query)
8 scholarly.pprint(first_author_result)

StopIteration:

Expected behavior
Should retrieve the author info

Desktop (please complete the following information):

  • Proxy service: none
  • python version: 3.11.4
  • OS: macOS 14.7.4 (23H420)
  • Version 1.7.11

Do you plan on contributing?
Your response below will clarify whether the maintainers can expect you to fix the bug you reported.

  • No

Additional context
Direct requests for Scholar Author ID still work

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions