Article View: news.software.readers
Article #262989Re: "Path:" is the only line that's never fake.
From: paolo pagliotto
Date: Mon, 11 Feb 2019 17:51
Date: Mon, 11 Feb 2019 17:51
32 lines
2583 bytes
2583 bytes
Jeff-Relf.Me @. ha detto questo domenica : >> 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. fj sx35n diekรจ anhjep -- W il formaggio!
Technical Details
Message-ID:
<q3scnd$6ke$1@news.fcku.it>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> <Jeff-Relf.Me@Oct.14--1.41am.Seattle.2018>Show Full Headers
Complete Article Headers
Message-ID: <q3scnd$6ke$1@news.fcku.it> Subject: Re: "Path:" is the only line that's never fake. Date: Mon, 11 Feb 2019 18:51:39 +0100 From: paolo pagliotto <paolo@pagliot.to> 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> <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-mail Newsgroups: comp.os.linux.advocacy,news.software.readers,alt.free.newsservers Followup-To: news.software.readers Organization: Some cool website https://fcku.it/ Reply-To: paolo@pagliot.to NNTP-Posting-Host: af45498bc8f95b6715f475e535e7f62207de25d5 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 11 Feb 2019 17:51:41 -0000 (UTC) Injection-Info: news.fcku.it; logging-data="6798"; mail-complaints-to="s2@fcku.it" X-Newsreader: MesNews/1.08.06.00-it X-Received-Bytes: 2534 X-Received-Body-CRC: 3872211687