miniflux-v2/reader/rewrite
Jouni K. Seppänen dcf87bd642 Add scrape and rewrite rules for quantamagazine
This is a somewhat complex React site so the rules could be a little fragile.
Text content seems to be always inside .outer--content, and most h6 elements
are fluff like "read later" or pointers to other articles. However, h6.byline
and h6.post__title__kicker are relevant to the current article.

Figure captions are sometimes inside both figure and div.outer--content
elements, sometimes only inside figure, so take both and remove the
intersection.

The figure elements sometimes contain multiple copies of images or
videos, and we just take them all. Math articles seem to use Mathjax,
which we don't add.
2022-01-03 10:10:13 -08:00
..
doc.go Add missing package descriptions for GoDoc 2018-10-08 17:32:17 -07:00
rewrite_functions.go Add data-srcset support to "add_dynamic_image rewrite" rewrite rule 2021-10-22 18:12:23 -07:00
rewriter_test.go Add data-srcset support to "add_dynamic_image rewrite" rewrite rule 2021-10-22 18:12:23 -07:00
rewriter.go Add rewrite rule to remove dom elements 2021-09-06 09:47:05 -07:00
rules.go Add scrape and rewrite rules for quantamagazine 2022-01-03 10:10:13 -08:00