Skip to content

motemen/WWW-BBS-2ch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

WWW::BBS::2ch - 2ch.net/bbspink client

SYNOPSIS

use WWW::BBS::2ch;

my $bbs = WWW::BBS::2ch->new(cache => $cache, ua => $ua);

my $board = $bbs->get_board('http://kamome.2ch.net/sf/');
$board->update;

my $thread = $board->thread_list->[0];
# or
my $thread = $bbs->get_thread('http://kamome.2ch.net/test/read.cgi/sf/1303882030/');

$thread->update;
# or if you want to get cached data
$thread->recall; 

$thread->parse;

foreach my $res (@{ $thread->res_list }) {
    say $res->body;
}

DESCRIPTION

WWW::BBS::2ch provides 2ch.net/bbspink retrieval methods.

AUTHOR

motemen <motemen@gmail.com>

SEE ALSO

LICENSE

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