Skip to content

Stall in author search  #558

Open
Open

Description

@kw5t45

Describe the bug
When searching for an author by id or name, a lot of time the script stalls completely, and keeps working for hours. I assume this is because I get a MaxTriesExceeded Error, however the message does not appear. Below I provide a snippet, however I am not completely sure as to in which of these 3 functions the script stalls.
To Reproduce
author: dict = scholarly.search_author_id(scholar_id)
search_query = scholarly.search_author(name)
author = scholarly.fill(next(search_query))

Expected behavior
I expected the programm not to stall and show output.

Screenshots
Doesn't show anything.

Desktop (please complete the following information):

  • Proxy service: ScraperAPI
  • python version: 3.11.6
  • OS: Windows
  • Version: 11

Do you plan on contributing?

  • Yes, I will create a Pull Request with the bugfix. I would like to contribute as I am using this library my self for data analysis, however I am not sure about the bug and would like to discuss it first.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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