Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello all,

I would like to be able to query google scholar and print out the results into a text file using a perl script. I would like the exact text shown in the results including the description which shows where in the paper your specific query was identified etc.

I have tried using this module https://code.google.com/p/google-scholar-perl/ , but I am way too novice to figure out how to tinker with it to get what I want.

An equivalent to

elinks "http://scholar.google.com/scholar?hl=en&q=P53" >P53_GoogleScholar_Hits.txt

would be acceptable but not ideal as I then have a lot of parsing to do ....

Any ideas/ advice?

Thanks!!

Replies are listed 'Best First'.
Re: Use perl script to get google scholar results for a query
by karlgoethebier (Abbot) on Apr 04, 2014 at 19:09 UTC

    Take a look at this.

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

      Thanks for the quick response.... I'm afraid I need a little more help... While I got it installed, I'm not sure how to use this module to get what I want. I tried to tweak the examples to figure out how it works but haven't really gotten very far. Do you know which subroutine I need to call or have any ideas on something that is documented a little bit more? I'm pretty new ( only finished the camel book ). Thanks so much !

        Do you want mean something like this? This is from the examples folder of the module, except search_generic..

        Regards, Karl

        «The Crux of the Biscuit is the Apostrophe»