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!!

In reply to Use perl script to get google scholar results for a query by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.