Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

google scholar #213

Closed
rpietro opened this issue Dec 2, 2017 · 4 comments
Closed

google scholar #213

rpietro opened this issue Dec 2, 2017 · 4 comments

Comments

@rpietro
Copy link

rpietro commented Dec 2, 2017

hi, I am trying to set an alias for google scholar using .googler_at. here is what I tried:

alias @gs='googler -w scholar.google.com/scholar' # gives me an error
alias @gs='googler -w scholar.google.com' # searches for people instead of the terms themselves

any thoughts on how to get it to work? thanks, this is a fantastic software

@zmwangx
Copy link
Collaborator

zmwangx commented Dec 2, 2017

Unfortunately, Google Scholar search isn't a native functionality of googler. Only Search and News are supported.

@jarun
Copy link
Owner

jarun commented Dec 2, 2017

However, from the received html data it seems googler can be extended to support it with some changes. If you are really interested, please raise a PR. We'll be glad to help out with the code understanding.

Tips:

netloc should be www.scholar.google.com and the path is /scholar instead of /search. These 2 changes, at the least, fetches the data you are looking for. Then you need to adapt the parser to handle scholarly results ;).

@jarun jarun mentioned this issue Dec 2, 2017
5 tasks
@jarun
Copy link
Owner

jarun commented Dec 3, 2017

I have added it to the ToDo list. Please raise a PR directly if you implement it.

@jarun jarun closed this as completed Dec 3, 2017
@zmwangx
Copy link
Collaborator

zmwangx commented Apr 13, 2019

My detailed thoughts on why googler isn't equipped to handle Google Scholar can be found here: #209 (comment).

@lock lock bot locked and limited conversation to collaborators Nov 15, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants