Skip to content

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

@MatteoRiva95

Description

@MatteoRiva95

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions