I want to get data from database by LWP::Simple::get.
Regular one page only show up 20 items,
My data total has 402 items.
I use:
$mydata=get('http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=protein&
+cmd=search&term=RGS');
I only can get 20 items. The source code has options from 10,20,100,200,500. By hand if you choice SHOW=500, you can get 402 items. and then the URL is:
http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?CMD=search&DB=protein
But if you use above URL you will get nothing.
The source code is:
Show: <select name="dispmax" onChange="form.dispmax1.select
+edIndex=selectedIndex;"><option>5</option>
<option>10</option>
<option selected>20</option>
<option>50</option>
<option>100</option>
<option>200</option>
<option>500</option>
</select>
What I can do about that? Please help!
Thanks in advance!
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.