Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks!
I am trying to submit some requests to a website so that I don't upload 1-by-1 (I have ~100 sequences to run), using the WWW:Mechanize module. But I can't seem to be able to find the correct page to put in my script. The tool I am trying to use is this one:
http://www.csbio.sjtu.edu.cn/bioinf/MemBrain/. If I just put this:
By looking at the page source, I see:
so I am thinking that my URL might be wrong. Any ideas how to point to the correct page so that it gets executed?
I am trying to submit some requests to a website so that I don't upload 1-by-1 (I have ~100 sequences to run), using the WWW:Mechanize module. But I can't seem to be able to find the correct page to put in my script. The tool I am trying to use is this one:
http://www.csbio.sjtu.edu.cn/bioinf/MemBrain/. If I just put this:
I get: Error POSTing http://www.csbio.sjtu.edu.cn/cgi-bin/MEMBRAIN.cgi/: Internal Server Error. Same result using get instead of postmy $url = 'http://www.csbio.sjtu.edu.cn/MEMBRAIN/'; my $mech = WWW::Mechanize->new (timeout=>1000); $mech->post($url);
By looking at the page source, I see:
<form name="myform" action="/cgi-bin/MEMBRAIN.cgi" method="post" onSub +mit="javascript: return checkform();">
so I am thinking that my URL might be wrong. Any ideas how to point to the correct page so that it gets executed?
|
---|
Back to
Seekers of Perl Wisdom