🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Jeff-Relf.Me Sat, 25 Mar 2017 17:32
You can send a block of NNTP commands, "pipelined", without pausing.
#261892
Author: Jeff-Relf.Me
Date: Sat, 25 Mar 2017 17:32
38 lines
2636 bytes
MrDFS asked Sandman:
> it took me /forever/ to download using python and nntplib and xhdr/head/body, etc.
> Mostly, I grabbed  _One ( ! ! ) header at a time for a range of articles.
> Does suck retrieve a range of articles and put all headers and bodies into one file?

There is no NNTP command to download a _Range of "Articles", 
headers and/or bodies; but you can send a block of commands, 
"pipelined", without pausing; to wit:

  Article 1
  Article 2
  Article 3
  ...
  Article 100

NNTP servers respond by sending these articles, 1 to 100, without pausing.
And that's what my newsreader does, 100 at a time,
getting thousands of posts.   It's _Many times faster ! !

The "." line ends each "Article|Head".
When a line begins with "..", you have to remove the leading ".".

These days, I use AstraWeb.COM to download posts,
and to update a NewsGroup ( to the latest post );
Individual.NET is soooo much slower, it's too painful to use.

Generally, xPat doesn't work anymore; use xHdr instead.

If you hit AstraWeb at a certain time of day, once a day,
it needs 4 minutes to update a NewsGroup ( to the latest ); 
i.e. it "burps" ( fails ), so you have to try again later.
My newsreader flags it, so I can wait it out.

Also, my newsreader ensures that a server has sent me 
an intact line|header, not just part of a line|header;

No line can exceed OneMegaByte.
The header, all lines, is also limited to OneMegaByte.
nntpLib should send a block of NNTP commands, without pausing.
#261893
Author: Jeff-Relf.Me
Date: Sat, 25 Mar 2017 20:09
35 lines
2498 bytes
UnLike AstraWeb, BlockNews doesn't have the "Path:" line;
so you can't tell if the header data is fake or not.
AstraWeb has 7+ years history to BlockNews's 14+.

I think AstraWeb is faster, but I'm not sure.
  US.News.AstraWeb.COM:119 //  $10/25 gigs ( 99+ years ), PayPal.  

nntpLib should send a block of NNTP commands, without pausing, Mr. DFS;
otherwise, it's way, way slower.

telnet  US.News.AstraWeb.COM  119

//  Copy&Paste the next 2 lines, as a group.

AuthInfo User ***Jeff Relf Seattle
AuthInfo Pass ***Open Sesame

//  Copy&Paste the next 4 lines, as a group.

Group comp.os.linux.advocacy
HEAD 1600669
HEAD 1600670
Quit

//  You Get:
211 678622 922050 1600671 comp.os.linux.advocacy
221 1600669 <aPOdncnzHuabWkvFnZ2dnUU7-IVg4p2d@giganews.com>
Path: news.astraweb.com!....!news.highwinds-media.com!...!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 25 Mar 2017 14:37:42 -0500
.....
Xref: news.astraweb.com comp.os.linux.advocacy:1600669
..                                                                                                                                                                                                                                       
221 1600670 <ekhddcdtvs3lh68dnet7011bl4jh8724r3@4ax.com>
Path: news.astraweb.com!...!news.eternal-september.org!.POSTED!not-for-mail
....
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads