Looking for a reliable Perl interface to Newzbin.com's Usenet index? Look no further than WWW::Newzbin for Linux!
Are you ready to unleash the power of WWW::Newzbin for Linux? Follow these simple steps:
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
);
# 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
);
Start leveraging the capabilities of WWW::Newzbin for Linux today and enjoy a seamless Usenet indexing experience!
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.