
10.03.2009, 21:58
|
|
Banned
Регистрация: 19.02.2009
Сообщений: 5
С нами:
9064840
Репутация:
3
|
|
eLWAux, ну и ужос. вот 13 строчек из привата:
Код:
use warnings;
use strict;
use LWP::UserAgent;
my $im = shift || die "Nety kartinki\n";
my $ua = LWP::UserAgent->new;
my $load = $ua->post('http://www.radikal.ru/action.aspx',
Content_type => 'multipart/form-data',
Content => [upload => 'yes',
F => [$im]])->content;
$load =~ m,"img4prev" src="(.+?)",i ? print $1 : print "XYI"
|
|
|