PyPaperBot icon indicating copy to clipboard operation
PyPaperBot copied to clipboard

Please help Google Scholar: --query does not work

Open MatteoRiva95 opened this issue 2 years ago • 2 comments

Good morning,

I am trying to download a pdf of a science paper with this code line:

!python -m PyPaperBot --query="10.1038/s41598-023-43091-0" --scholar-pages=2 --dwn-dir="path/to/download/dir"

The query string is a DOI and if you search for it in Google Scholar it does find only one paper (which is the one I am searching for). Unfortunately, the code line gives me this error:

_Query: 10.1038/s41598-023-43091-0

Google Scholar page 1 : 10 papers found Paper not found...

Google Scholar page 2 : 10 papers found Paper not found...

Work completed!_

I tried to use the title of the paper, but it does not work. I tried the URL, but again it returns an error. How can I fix it? Can you help me please?

I am using Colab right now, Python 3.10 and I would like to use Google Scholar option and not Scihub.

Thank you so much in advance!

Matteo

MatteoRiva95 avatar Sep 26 '23 10:09 MatteoRiva95

I have the same issue

toxicNH3 avatar Jan 06 '24 01:01 toxicNH3