The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Livedoor - LWP::UserAgent module for Livedoor.com

SYNOPSIS

  use HTTP::Request::Common;
  use WWW::Livedoor;
  use strict;

 ## Login livedoor.com using livedoor_id & password
  my $livedoor= WWW::Livedoor->new('[livedoor_id]', '[password]');
     $livedoor->login;

 ## Getting Any Logined Page
  my $res = $livedoor->get('http://frepa.livedoor.com');
     $res->content; ## result

 ## POST Any Query And Get the Result
  my @form = ('k' => 'search',
              'q' => 'test');

  my $req = &HTTP::Request::Common::POST("http://search.livedoor.com/search/",[@form]);
  my $res = $livedoor->request($req);
     $res->content; ## result

DESCRIPTION

WWW::Livedoor uses LWP::RobotUA to scrape livedoor.com This provide login method, get and put method, and some parsing method for user who create livedoor spider.

SEE ALSO

LWP::UserAgent, WWW::RobotUA, HTTP::Request::Common

AUTHORS

WWW::Livedoor is written by http://satoru.net <sayano@cpan.org>

ACKNOWLEDGMENTS

I'd like to thank the following for finding bugs and offering suggestions:

 WWW::Mixi TSUKAMOTO Makio (tsukamoto@gmail.com)

COPYRIGHT

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.