get-mid — Usenet article downloader
Often enough one gets pointers to usenet postings in form of a message ID. In order to retrieve the underlying posting, one may use get-mid. The script will print the article including all headers in plain text form, which makes further processing using shell tools or other script very easy.
Installation
- Download get-mid from http://divbyzero.net/code/get-mid/get-mid.pl.
- Install the CPAN module Net::NNTP if it's not there already.
- Edit get-mid.pl and adjust the variables $server, $username and $password to meet your needs.
- Set the execute bit (chmod a+x get-mid.pl).
Usage
Using get-mid consists of calling the script from the command line with the message ID (without the leading and trailing bracket) as the first (and only) argument:
./get-mid 1991Jul3.100050.9886@klaava.Helsinki.FI
(<1991Jul3.100050.9886@klaava.Helsinki.FI> is the message ID)
Support/Contact
If there are questions concerning get-mid, they can be directed to get-mid@divbyzero.net.