From 0bab8fac8eddf93ac23ee03ae8eba6f2e2febe3b Mon Sep 17 00:00:00 2001 From: x Date: Sun, 9 Jun 2024 15:30:27 -0400 Subject: [PATCH] Update theverge.com rewrite rule: fix duplicate image See: https://github.com/miniflux/v2/issues/1979 --- internal/reader/rewrite/rules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/reader/rewrite/rules.go b/internal/reader/rewrite/rules.go index 063e4539..081b5c9a 100644 --- a/internal/reader/rewrite/rules.go +++ b/internal/reader/rewrite/rules.go @@ -30,7 +30,7 @@ var predefinedRules = map[string]string{ "quantamagazine.org": `add_youtube_video_from_id, remove("h6:not(.byline,.post__title__kicker), #comments, .next-post__content, .footer__section, figure .outer--content, script")`, "sentfromthemoon.com": "add_image_title", "thedoghousediaries.com": "add_image_title", - "theverge.com": `add_dynamic_image, remove("div.duet--recirculation--related-list")`, + "theverge.com": `add_dynamic_image, remove("div.duet--recirculation--related-list, .hidden")`, "treelobsters.com": "add_image_title", "webtoons.com": `add_dynamic_image,replace("webtoon"|"swebtoon")`, "www.qwantz.com": "add_image_title,add_mailto_subject",