Re: Scraping non-html webpage in Perl

2012-05-15 Thread Paolo Gianrossi
Looks like plain text, so I don't know what you exactly mean by "scraping"... You mean download it? cheers Paolo Gianrossi (An unmatched left parenthesis creates an unresolved tension that will stay with you all day -- xkcd 2012/5/9 Formatting Solutions

Re: Scraping non-html webpage in Perl

2012-05-15 Thread Randal L. Schwartz
> "Formatting" == Formatting Solutions > writes: Formatting> I would like to get some information from a non-html webpage: Formatting> http://www.biomart.org/biomart/martservice?type=datasets&mart=CosmicMartusing Can't fetch that, so I have no idea what "non-html" is. What is the MIME

Re: Scraping non-html webpage in Perl

2012-05-09 Thread Matthew K
#!/usr/bin/perl use LWP::Simple; my $url = 'your website' my $content = get("$url"); print $content;   -- Matt > > From: Formatting Solutions >To: beginners@perl.org >Sent: Wednesday, May 9, 2012 8:11 AM >Subject: Scraping no

Scraping non-html webpage in Perl

2012-05-09 Thread Formatting Solutions
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.