~metalune/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] simplynews_sites: lefigaro: fix articles

Details
Message ID
<20211030141243.74044-1-bopol@e.email>
DKIM signature
pass
Download raw message
Patch: +1 -1
---
 simplynews_sites/lefigaro.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/simplynews_sites/lefigaro.py b/simplynews_sites/lefigaro.py
index 3a89047..10ad397 100644
--- a/simplynews_sites/lefigaro.py
+++ b/simplynews_sites/lefigaro.py
@@ -80,7 +80,7 @@ def get_page(url):
    if heading_image is not None:
        article.append(get_image(heading_image))

    post_content = post.select_one("div.fig-body")
    post_content = post.select_one("div.fig-content-body")

    if post_content is None:  # not a regular article
        poll_element = post.select_one("div.fig-poll")  # poll "article"
-- 
2.31.1
Details
Message ID
<CFDHE76XP27T.3UGWK1BAZ9S5@thonkpad>
In-Reply-To
<20211030141243.74044-1-bopol@e.email> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Thank you
Reply to thread Export thread (mbox)