ferru97 / PyPaperBot

PyPaperBot is a Python tool for downloading scientific papers using Google Scholar, Crossref, and SciHub.
MIT License
358 stars 67 forks source link

Please help Google Scholar: --query does not work #57

Open MatteoRiva95 opened 1 year ago

MatteoRiva95 commented 1 year ago

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

toxicNH3 commented 8 months ago

I have the same issue