Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]

Liste des GroupesRevenir à c misc 
Sujet : Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]
De : nospam (at) *nospam* example.net (D)
Groupes : comp.misc
Date : 26. Jul 2024, 10:00:05
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <cceeb788-c131-4a84-588d-044e917fa810@example.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
On Fri, 26 Jul 2024, Computer Nerd Kev wrote:

Anton Shepelev <anton.txt@gmail.moc> wrote:
Computer Nerd Kev:
>
I must get around to trying to build a web forum to NNTP
gateway one day, although It'll probably send me crazy
trying to keep up with scraping different forum platform
page layouts.
>
In case you are building it for the heck of it, there is one
already:
                <https://news.novabbs.org>
>
If, on the other hand, your ambition is a bridge between
real web forums and NNTP, there have been working
implementations in englishforums.com (many years ago) and
the Microsoft forums (via NNTPBridge, not so many years
ago). Both were abandoned, partly because forums do not
agree with NNTP either ideologically (centralisation)
physically (different message format).
>
Perhaps I was too vague, I'm talking about something run
separately from the forum operators, like Gwene does with RSS.
I described my ambitions better last year in news.software.nntp
when I asked about any existing projects (without receiving any
relevent suggestions). See below.
>
Later I found this project that might help as a basis for the forum
scraping aspect:
https://github.com/mikwielgus/forum-dl
>
Though I don't think I could rely on that project to be maintained
and keep up with forum platform changes, since a recent comment
from the author is:
"Sadly, I haven't had much time to continue this project as I'm
currently very busy with another one."
So I'd probably have to maintain something like it myself, which
might not be worth the pain.
>
Message-ID: <651b4c54@news.ausics.net>
Subject: Client-Side Bridge to Web Forums?
Newsgroups: news.software.nntp
>
Web forums keep annoying me more and more with bloated interfaces,
so I'm using them less and less, yet there's less and less to read
on Usenet too. So lately I've been considering, not entirely
seriously, writing a program to scrape specific web forums and
generate a news spool with the content of the forum's latest posts
for me to read (either locally, or perhaps remotely via NNTP).
>
Has anyone done this before? I know there are various web forum
platforms that support NNTP server-side, but I'm talking about web
forums hosted by other people who I have no association or
influence with. Has anyone done something that's purely a
client-side implementation?
>
Simple Machines Forum and Discourse are prime targets for me, maybe
phpBB too. Most don't have RSS enabled, or the feed only shows the
start of new posts. The ideal would be a system supporting scrapers
for multiple forum platforms which can be easily extended.
>
Support for posting would be nice, but read-only access in a news
reader (Tin) would be better than nothing.
>
>
Read only sounds very simple. I usually scrape in python with the requests library and the beautiful soup library. A simple scraping loop could look like this (modify per web board of course):
for page in range(100, 150):
     html = requests.get("https://www.svt.se/text-tv/" + str(page))
     soup = BeautifulSoup(html.text, 'html.parser')
     div_bs4 = soup.find('div', {"class": "Content_screenreaderOnly__3Cnkp"})
     try:
         email_body += div_bs4.string + "\n"
     except AttributeError:
         None
So basically a range of pages, then loop over those pages, clean it up with beautifulsoup, and then generate messages for nntp. In my case, the code generates an email message, so I can read the content in my mail client instead of online.
What you could do then, is to generate nntp format files and dump them into leafnode, and then read locally with a nntp reader by connencting to leafnode.
That would, very broadly and high level, be how I would do it.
https://www.leafnode.org/ .

Date Sujet#  Auteur
24 Jul 24 * Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]101Anton Shepelev
24 Jul 24 +* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]44D
24 Jul 24 i+- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Johanne Fairchild
25 Jul 24 i+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]40The Real Bev
25 Jul 24 ii`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]39D
25 Jul 24 ii +* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]13Rich
25 Jul 24 ii i+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]11D
26 Jul 24 ii ii+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]3Anton Shepelev
26 Jul 24 ii iii`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2D
26 Jul 24 ii iii `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Scott Dorsey
26 Jul 24 ii ii+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]5The Real Bev
26 Jul 24 ii iii+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]3D
26 Jul 24 ii iiii`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2Johanne Fairchild
26 Jul 24 ii iiii `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1D
27 Jul 24 ii iii`- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1D
27 Jul 24 ii ii`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2Scott Dorsey
27 Jul 24 ii ii `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1D
26 Jul 24 ii i`- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1The Real Bev
6 Aug 24 ii `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]25The Real Bev
6 Aug 24 ii  `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]24Stefan Ram
7 Aug 24 ii   `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]23The Real Bev
7 Aug 24 ii    +* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]21Richard Kettlewell
7 Aug 24 ii    i+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]16Aharon Robbins
8 Aug 24 ii    ii+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]13Lawrence D'Oliveiro
8 Aug 24 ii    iii+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]4Scott Dorsey
9 Aug 24 ii    iiii`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]3Lawrence D'Oliveiro
9 Aug 24 ii    iiii `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2Scott Dorsey
10 Aug 24 ii    iiii  `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Lawrence D'Oliveiro
8 Aug 24 ii    iii`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]8Dan Purgert
8 Aug 24 ii    iii +* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]4D
8 Aug 24 ii    iii i+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2Rich
9 Aug 24 ii    iii ii`- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1D
8 Aug 24 ii    iii i`- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Bob Eager
9 Aug 24 ii    iii `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]3Lawrence D'Oliveiro
9 Aug 24 ii    iii  `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2Dan Purgert
9 Aug 24 ii    iii   `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Lawrence D'Oliveiro
8 Aug 24 ii    ii+- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Scott Dorsey
14 Aug 24 ii    ii`- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Johanne Fairchild
9 Aug 24 ii    i`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]4The Real Bev
9 Aug 24 ii    i `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]3D
10 Aug 24 ii    i  `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2The Real Bev
14 Aug 24 ii    i   `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Johanne Fairchild
7 Aug 24 ii    `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Scott Dorsey
5 Aug 24 i`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2David LaRue
5 Aug 24 i `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1D
25 Jul 24 `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]56George Musk
25 Jul 24  `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]55Marco Moock
25 Jul 24   +* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2yeti
25 Jul 24   i`- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1D
25 Jul 24   +* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]43Johanne Fairchild
25 Jul 24   i+* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]3D
26 Jul 24   ii`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2candycanearter07
26 Jul 24   ii `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1D
26 Jul 24   i`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]39Stefan Ram
27 Jul 24   i `* Re: Emigration from Usenet38Johanne Fairchild
27 Jul 24   i  `* Re: Emigration from Usenet37Stefan Ram
27 Jul 24   i   +* Re: Emigration from Usenet2Johanne Fairchild
27 Jul 24   i   i`- Re: Emigration from Usenet1Stefan Ram
27 Jul 24   i   `* Re: Emigration from Usenet34Richard Kettlewell
27 Jul 24   i    +* Re: Emigration from Usenet22Stefan Ram
27 Jul 24   i    i+* Re: Emigration from Usenet4D
27 Jul 24   i    ii`* Re: Emigration from Usenet3Rich
28 Jul 24   i    ii +- Re: Emigration from Usenet1D
29 Jul 24   i    ii `- Re: Emigration from Usenet1Stefan Ram
27 Jul 24   i    i+* Re: Emigration from Usenet11Richard Kettlewell
27 Jul 24   i    ii+* Re: Emigration from Usenet9Stefan Ram
28 Jul 24   i    iii+- Re: Emigration from Usenet1D
28 Jul 24   i    iii`* Re: Emigration from Usenet7Richard Kettlewell
28 Jul 24   i    iii +* Re: Emigration from Usenet5Stefan Ram
28 Jul 24   i    iii i+- Re: Emigration from Usenet1Stefan Ram
28 Jul 24   i    iii i`* Re: Emigration from Usenet3Rich
28 Jul 24   i    iii i `* Re: Emigration from Usenet2Richard Kettlewell
28 Jul 24   i    iii i  `- Re: Emigration from Usenet1Rich
28 Jul 24   i    iii `- Re: Emigration from Usenet1D
28 Jul 24   i    ii`- Re: Emigration from Usenet1The Real Bev
29 Jul 24   i    i`* Re: Emigration from Usenet6Johanne Fairchild
29 Jul 24   i    i +* Re: Emigration from Usenet4The Real Bev
29 Jul 24   i    i i`* Re: Emigration from Usenet3Mike Spencer
29 Jul 24   i    i i `* Re: Emigration from Usenet2The Real Bev
29 Jul 24   i    i i  `- Re: Emigration from Usenet1Stefan Ram
29 Jul 24   i    i `- Re: Emigration from Usenet1D
28 Jul 24   i    +- Re: Emigration from Usenet1Andreas Eder
29 Jul 24   i    `* Re: Emigration from Usenet10Johanne Fairchild
29 Jul 24   i     `* Re: Emigration from Usenet9Richard Kettlewell
29 Jul 24   i      `* Re: Emigration from Usenet8Javier
29 Jul 24   i       +- Re: Emigration from Usenet1yeti
29 Jul 24   i       +* Re: Emigration from Usenet5Rich
30 Jul 24   i       i`* Re: Emigration from Usenet4Johanne Fairchild
30 Jul 24   i       i `* Re: Emigration from Usenet3Stefan Ram
30 Jul 24   i       i  +- Re: Emigration from Usenet1Johanne Fairchild
30 Jul 24   i       i  `- Re: Emigration from Usenet1Lawrence D'Oliveiro
29 Jul 24   i       `- Re: Emigration from Usenet1Richard Kettlewell
25 Jul 24   `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]9Rich
26 Jul 24    `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]8Computer Nerd Kev
26 Jul 24     `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]7Anton Shepelev
26 Jul 24      `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]6Computer Nerd Kev
26 Jul 24       +* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]3D
26 Jul 24       i`* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2Computer Nerd Kev
28 Jul 24       i `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Lawrence D'Oliveiro
12 Aug 24       `* Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]2Theo
13 Aug 24        `- Re: Emigration from Usenet [was: Re: PTD was the most-respected of the AUE regulars ...]1Computer Nerd Kev

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal