#!/usr/bin/perl
use LWP::Simple;
my $url = 'your website'
my $content = get("$url");
print $content;
 
--
Matt


>________________________________
> From: Formatting Solutions <formatting.soluti...@gmail.com>
>To: beginners@perl.org 
>Sent: Wednesday, May 9, 2012 8:11 AM
>Subject: Scraping non-html webpage in Perl
> 
>Hi,
>
>I would like to get some information from a non-html webpage:
>http://www.biomart.org/biomart/martservice?type=datasets&mart=CosmicMartusing
>a perl script, and I was wondering if there are any modules out there
>that can help me do this. I have so far seen modules that scrape html
>webpages only.
>Which modules could I use or any ideas how I can go about web scraping from
>a webpage that is non-HTML in perl?
>
>Thanks,
>Martin
>
>
>

Reply via email to