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

Retrieving more than 10 entries #2

Open
nthiery opened this issue Apr 24, 2013 · 5 comments
Open

Retrieving more than 10 entries #2

nthiery opened this issue Apr 24, 2013 · 5 comments

Comments

@nthiery
Copy link

nthiery commented Apr 24, 2013

Hi!

We are developpers of a software for research called Sage-Combinat, and looking for a tool that will extract out of google scholar a preliminary list of papers that mention Sage-Combinat, in bibtex format. gscholar sounds great for this!

The only feature we are missing is that we would like to get all citations, and that should be roughly 60 of them. Do you see a way to allow for this?

Thanks a lot!
Nicolas

@venthur
Copy link
Owner

venthur commented Apr 24, 2013

The first idea that pops into my head is to change the cookie you send to google in a way that emulates the appropriate setting for seeing more results per page.

@nthiery
Copy link
Author

nthiery commented Apr 25, 2013

Thanks for your suggestion! I just tried that, changing line 64 to:

header['Cookie'] = header['Cookie'] + ":CF=%d" % outformat + ";\n PREF=ID=%s:NR=30"%google_id

For NR=3, this works just fine. However there seems to be a cap at 20, so this won't be enough. Hmm, then I guess one would need to follow the "next" link until the end is reached ...
Is this a feature that would be useful to anyone else?

@Alex-Linhares
Copy link
Contributor

line 64??

@nthiery
Copy link
Author

nthiery commented Aug 29, 2018

That was a long time ago, so I guess the code moved around a bit. The line to adapt is presumably this one now:

https://github.com/venthur/gscholar/blob/master/gscholar/gscholar.py#L67

@Alex-Linhares
Copy link
Contributor

Thank you; I'll look into it. And thank you for working in Sage-Combinat; I hope someday I can contribute!

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

3 participants