Subj : Re: Today in Histery
To   : Zero Reader
From : blade
Date : Thu May 12 2022 02:36 pm

On 12 May 2022, Zero Reader said the following...

ZR> Nice work! I saw the request here a few weeks ago as well and also took
ZR> a stab at using Python for it. Mine scrapes timeanddate.com/on-this-day/
ZR> using BeautifulSoup and just lays out a simple date: headline thing,
ZR> just like yours.

This is great! My first attempts used BeautifulSoup as well. Though I was trying to parse Wikipedia directly and my brain just couldn't put the pieces together to get it working the way I wanted.

ZR> I'm not a programmer, so this code is probably laughable, but it's
ZR> producing the result I want. There's a lot more data on that page
ZR> available for scraping that I hope to incorporate later (famous births
ZR> and deaths).

I'm also not a programmer so definitely no judgment on code quality! In fact, thank you for sharing as it helps me see some of the pieces I was having trouble getting straight. Likewise, I'm hoping to incorporate more of the data eventually.

Again, thanks for sharing, I appreciate seeing a different approach to the same problem!

Travis 'blade' Mehrer

... I think I am, therefore, I am... I think.

--- Mystic BBS v1.12 A48 2022/03/26 (Raspberry Pi/32)
* Origin: CaNerDUH BBS (21:4/151)