Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching with DOI #129

Open
SvennoNito opened this issue Jan 20, 2020 · 1 comment
Open

Searching with DOI #129

SvennoNito opened this issue Jan 20, 2020 · 1 comment

Comments

@SvennoNito
Copy link

Hey,
I've tried to find a paper using it's DOI. While when I for example put doi.org/10.1177/0956797614535937 to google scholar, it finds exactly this paper. Scholar.py, however, complains no matter which query option i use.

scholar.QueryArgumentError: search query needs more parameters

I've tried all of those options seperately, but none has worked so far:

"--title-only", "doi.org/10.1177/0956797614535937"
"--phrase", "doi.org/10.1177/0956797614535937"
"--all", "doi.org/10.1177/0956797614535937"
"--some", "doi.org/10.1177/0956797614535937"
"--author", "doi.org/10.1177/0956797614535937"

Any idea how to implement a DOI search?

@airampg
Copy link

airampg commented Jun 9, 2022

Hi Svenno,

I have just downloaded the script and the way I have been able to do it is by using "-A" (i.e., "Results must contain all of these words").

NOTE: If you are using the complete DOI, i.e., with the slashes ("/"), then you must scape them.
"doi.org/10.1177/0956797614535937" -> "doi.org//10.1177//0956797614535937"

image

I hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants