Article View: news.software.readers
Article #262810"Path:" is the only line that's never fake.
From: Jeff-Relf.Me
Date: Sun, 14 Oct 2018 08:41
Date: Sun, 14 Oct 2018 08:41
26 lines
2176 bytes
2176 bytes
> That code above downloads from blocknews and writes to files > 10 to 20 posts per second (depending on your network speed). > > > > > I don't know how to get the article bodies that fast so it still takes > > > > ~5 minutes for 1000 posts. > > > > 12 thousand posts per hour it's no speed demon but it works. I prefer "Text" (INN) servers because they have accurate "Path:" lines; "Path:" is the only line that's never fake; for anonymity, "Binary" servers remove it. A year and a half ago, I told you: Glorb [ an INN server, Like "EternalSeptember" ] is taking just 4 seconds to download a thousand posts, full header and body. I "pipeline" 100 "Article" commands at a time ( all at once ), and I use a 4 MegaByte input buffer -- it's very sophisticated. Upon receiving a chunk ( e.g. a 30 KiloByte Article ), I check for proper line endings -- "\r\n" in the header, "\r" and/or "\n" in the body, if the "Content-Type:" is text. I don't parse the Body UnlessAndUntil I have the full header ( so I know what the "Content-Type:" is ). The body itself may have varios (MIME) "Content-Type:" lines.
Technical Details
Message-ID:
<Jeff-Relf.Me@Oct.14--1.41am.Seattle.2018>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mailReferences:
<6d456a98-d79d-4280-b8a4-75e6a14039ef@googlegroups.com> <K8ptD.100112$ZJ2.25135@fx33.iad> <e0777414-4790-4fa0-9ce1-d889f604f26e@googlegroups.com> <0qstD.79312$uJ2.3100@fx27.iad> <055d7376-8773-4ca9-8cd3-4fd8c1a2764f@googlegroups.com> <W1ztD.39291$xo2.777@fx31.iad>Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@Oct.14--1.41am.Seattle.2018> Subject: "Path:" is the only line that's never fake. Date: Sun, 14 Oct 2018 08:41:42 +0000 From: Jeff-Relf.Me @. References: <6d456a98-d79d-4280-b8a4-75e6a14039ef@googlegroups.com> <K8ptD.100112$ZJ2.25135@fx33.iad> <e0777414-4790-4fa0-9ce1-d889f604f26e@googlegroups.com> <0qstD.79312$uJ2.3100@fx27.iad> <055d7376-8773-4ca9-8cd3-4fd8c1a2764f@googlegroups.com> <W1ztD.39291$xo2.777@fx31.iad> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail Content-Type: Text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Newsgroups: comp.os.linux.advocacy,news.software.readers,alt.free.newsservers User-Agent: Jeff-Relf.Me/X.HTM Lines: 26 X-Complaints-To: abuse@usenet-news.net NNTP-Posting-Date: Sun, 14 Oct 2018 08:41:51 UTC Organization: usenet-news.net X-Received-Bytes: 2134 X-Received-Body-CRC: 3929880631