OpenBagTwo/MarketWatch

Strip all HTML from lede (and headline)

Ouverte

#2 ouverte le 7 déc. 2023

 (0 commentaire) (0 réaction) (0 personne assignée)Jupyter Notebook (1 fork)auto 404
enhancementhelp wanted

Métriques du dépôt

Stars
 (3 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Right now I'm just excluding any articles with HTML tags (explicitly, the ">") character in the headline or lede. But I can pretty much guarantee that there are libraries that implement HTML handling (beautifulsoup?) that I could be leveraging to do this smarter (and thus with fewer Guardian API calls).

Guide contributeur