A Perl interface to Newzbin.com's Usenet index.. #Newzbin Usenet #Perl interface #Perl module #Newzbin #Usenet #Perl
WWW::Newzbin is a Perl interface to Newzbin.com's Usenet index.
use WWW::Newzbin; use WWW::Newzbin::Constants qw(:all);
my $nzb = WWW::Newzbin->new( username => "joebloggs", password => "secretpass123" );
$nzb->lwp_useragent->timeout(10); # ADVANCED: allow less time for responses from newzbin
my @results = $nzb->search_files( query => "the john smith orchestra", category => [ NEWZBIN_CAT_MUSIC, NEWZBIN_CAT_MOVIES ], # search in Newzbin's "music" and "movies" categories... group => [ "alt.binaries.music", "alt.binaries.test" ], # ...and return results from these groups only retention => 30, # no more than 30 days old resultlimit => 50, # return maximum of 50 results sortfield => NEWZBIN_SORTFIELD_SUBJECT, # sort by subject... sortorder => NEWZBIN_SORTORDER_ASC # ...in ascending order ); if ($nzb->error_code) { print "Error # " . $nzb->error_code . ": " . $nzb->error_message; } else { print "Total number of results found: " . $nzb->search_files_total; print "Subject of result #1: " . $results[0]->{subject}; }
# make an nzb file for binaries in newzbin report #12345678 my ($nzb_file, $report_name, $report_category) = $nzb->get_nzb(reportid => 12345678);
# make an nzb file for binaries in newzbin report #12345678, and leave the nzb file gzip-compressed my ($nzb_file_gzipped, $report_name, $report_category) = $nzb->get_nzb( reportid => 12345678, leavegzip => 1 );
# make an nzb file for binaries with the newzbin file ids #123, #456 and #789, and don't compress it when downloading it my $nzb_file = $nzb->get_nzb( fileid => [ 123, 456, 789 ], nogzip => 1 ); This module is a Perl interface to the Newzbin.com v3 direct APIs. Newzbin is a Usenet binary indexing service that also offers .nzb files - short summary files containing all the information a newsreader requires to download any given binary or set of binaries from Usenet.
System requirements
WWW::Newzbin 0.07
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- filename:
- WWW-Newzbin-0.07.tar.gz
- main category:
- Programming
- developer:
- visit homepage
Windows Sandbox Launcher 1.0.0
Zoom Client 6.0.3.37634
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
calibre 7.9.0
7-Zip 23.01 / 24.04 Beta
Bitdefender Antivirus Free 27.0.35.146
Context Menu Manager 3.3.3.1
IrfanView 4.67
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
ShareX 16.0.1
- IrfanView
- 4k Video Downloader
- ShareX
- Windows Sandbox Launcher
- Zoom Client
- Microsoft Teams
- calibre
- 7-Zip
- Bitdefender Antivirus Free
- Context Menu Manager