From 24adf104eb0e991969885ebfdaaa75fc64e2af11 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Tue, 31 Aug 2021 08:02:21 +0200 Subject: [PATCH] Remove h3 --- livres.js | 1 + 1 file changed, 1 insertion(+) diff --git a/livres.js b/livres.js index 64d2c7b..9f086d7 100644 --- a/livres.js +++ b/livres.js @@ -30,6 +30,7 @@ const fetchPage = async (url) => { const title = html('h1.entry-title').text() const content = html('div.entry-content') content.find('a').remove() + content.find('h3').remove() content.find('hr').remove() content.find('div.tiled-gallery').remove() const data = content.html()