🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #251537

Re: CLI tools that can handle snews:// URLs

#251537
From: Whiskers
Date: Wed, 12 Sep 2012 21:30
29 lines
2422 bytes
On 2012-09-12, Anonymous <noreply@breaka.net> wrote:
> Is lynx the only commandline tool that can dump the contents of a
> newsgroup post?  
>
> If I want to dump a newsgroup article, I can do:
>
>   lynx --dump snews://news.gmane.org/gmane.comp.web.lynx.devel
>
> (very slick!).  Problem is, when it comes to dumping an article, only
> basic headers are shown and it's hard-coded to do that.  I need a way
> to access obscure headers from a script (hence the CLI need).
>
> FYI, cURL, w3m, and wget cannot handle snews:// URLs.

I'm not sure if it qualifies as a 'commandline tool' for your purposes,
but slrn can save any article you're reading; hit o and accept or edit the
suggested file-name, and all headers and body for that article are saved as
a single file.  (It can save whole threads, too).

Most usenet clients can probably do that.

Use a local caching news-server (eg Leafnode) if you want to examine dozens
or hundreds of articles; it'll give you all the articles in the group in a
single operation, each one as a seperate file with all its headers.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <slrnk51voq.1c7.catwheezel@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <6d04a9ecf59311767822dcc625427097@breaka.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnk51voq.1c7.catwheezel@ID-107770.user.individual.net>
Subject: Re: CLI tools that can handle snews:// URLs
Date: Wed, 12 Sep 2012 21:30:29 +0000
From: Whiskers <catwheezel@operamail.com>
References: <6d04a9ecf59311767822dcc625427097@breaka.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 29
Reply-To: Whiskers <catwheezel@gmx.co.uk>
X-Trace: individual.net
 dMC2k/jVAJevKuKD7iLzCw/gntPpHohJfFW10ufx4sxvkdK1s2TFdMN1CLEchBkfAK
Cancel-Lock: sha1:klTEWOs/MkokwTjLR1zasVfrx00=
X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_
 "Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00
 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@
 p&  g^8<z5>HA
User-Agent: slrn/pre1.0.0-40 (Linux)
X-Original-Bytes: 2139