scholarly-python-package / scholarly

Retrieve author and publication information from Google Scholar in a friendly, Pythonic way without having to worry about CAPTCHAs!
https://scholarly.readthedocs.io/
The Unlicense
1.29k stars 292 forks source link

moved SearchScholarIterator to separate file to improve readability #523

Closed dlebedinsky closed 7 months ago

dlebedinsky commented 7 months ago

Fixes #Enter the associated issue number.

Description

Describe your addition briefly to help the reviewers understand your contribution.

Checklist

dlebedinsky commented 7 months ago

Hello, this is my first contribution. I hope to make more in the future.

arunkannawadi commented 7 months ago

@dlebedinsky - any reason why you closed this PR again?

dlebedinsky commented 7 months ago

@dlebedinsky - any reason why you closed this PR again?

It resulted in a circular import error

arunkannawadi commented 7 months ago

Right, you were calling publication_parser from _search_scholar_iterator and vice versa, that would result in that error. You could avoid it by moving the import just before it is needed, but I am not sure that it's a net win.