View Single Post
Old 02-13-2023, 03:29 AM   #1
Villard
Connoisseur
Villard began at the beginning.
 
Posts: 74
Karma: 10
Join Date: May 2016
Device: Koreader running on Kobo Libra 2
Recipe le Monde : How to keep only the URL of the printed edition ?

Hello
I'm using the recipe " Le Monde : édition abonnés" created by Sylvain Durand.
The daily ebook is large, around 24 Mo, and shows also some articles which were already in the ebook created the day before.
I then would like to get only the URL which only corresponds to the printing newspaper.

In each article html page, there is an indication of the date of the printed date "editionDate":"2023-02-11".
I then would like to keep only the URL which the " editiondate is >= Tomorrow", because the printed newspaper is published in the afternoon with the date of the following day.
As this "editiondate" text is inside a long script description, I think the best it to consider it as a comment in the html page.


Can you give me some hints to get this done ?
Thanks
Villard is offline   Reply With Quote