GithubHelp home page GithubHelp logo

Comments (6)

nico-zck avatar nico-zck commented on June 15, 2024 1

First, I need to explain why I implemented a rough time range query .
For example, if a paper titled "Explaining and Exploiting Adversarial Examples" has a year of "2013" in Zotero, the original version will produce a URL that results in an incorrect query (https://scholar.google.com/scholar?q=Explaining+and+Harnessing+Adversarial+Examples&hl=en&as_sdt=0%2C5&as_ylo=2013&as_yhi=2013), while a looser range, such as 2012 - 2014, will hit the correct query (https://scholar.google.com/scholar?q=Explaining+and+Harnessing+Adversarial+Examples&hl=en&as_sdt=0%2C5&as_ylo=2012&as_yhi=2014).

For this paper, this plugin generates a url like: https://scholar.google.com/scholar?hl=en&q=Transport%20of%20complex%20and%20active%20fluids%20in%20porous%20media&as_epq=&as_occt=title&num=1&as_sauthors=Kumar+Guasto+Ardekani&as_ylo=2020&as_yhi=2024.
It's obviously that the 2022 is covered by the range of 2020β€”2024, however, google scholar will return a wrong result.
I think it's a bug caused by Google scholar.

Or, do you have any suggestion to this problem?

from zotero-scholar-citations.

nico-zck avatar nico-zck commented on June 15, 2024 1

Looks great! I will test this solution and fix it in the next release.

from zotero-scholar-citations.

Ghiclgi avatar Ghiclgi commented on June 15, 2024

Yes, I think keeping the looser range is a wise choice.
I just find out a solution: add the names of the first few authors directly into the search query. Is it possible?
For example, the query (https://scholar.google.com/scholar?hl=en&num=1&as_sdt=0%2C33&as_ylo=2020&as_yhi=2024&q=Transport+of+complex+and+active+fluids+in+porous+media+Kumar+Guasto)

from zotero-scholar-citations.

nico-zck avatar nico-zck commented on June 15, 2024

Yes, I think keeping the looser range is a wise choice. I just figure out a solution: add the names of the first few authors into the search query. Is it possible?

Look back the last link in the previous comment, I already added the first three authors in the query url. But it still not workπŸ˜‚.

from zotero-scholar-citations.

Ghiclgi avatar Ghiclgi commented on June 15, 2024

Sorry, I just learn that you have already included the author names.

from zotero-scholar-citations.

Ghiclgi avatar Ghiclgi commented on June 15, 2024

Yes, I think keeping the looser range is a wise choice. I just figure out a solution: add the names of the first few authors into the search query. Is it possible?

Look back the last link in the previous comment, I already added the first three authors in the query url. But it still not workπŸ˜‚.

Replacing q= with as_q= gives the correct result, although the reason remains unknown.
Before: https://scholar.google.com/scholar?hl=en&q=Transport%20of%20complex%20and%20active%20fluids%20in%20porous%20media&as_epq=&as_occt=title&num=1&as_sauthors=Kumar+Guasto+Ardekani&as_ylo=2020&as_yhi=2024.
After: https://scholar.google.com/scholar?hl=en&as_q=Transport%20of%20complex%20and%20active%20fluids%20in%20porous%20media&as_epq=&as_occt=title&num=1&as_sauthors=Kumar+Guasto+Ardekani&as_ylo=2020&as_yhi=2024.

from zotero-scholar-citations.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.