From 5989f3cef7dcfa8cd518c692b6ec308f9688c407 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 12 Mar 2022 08:37:37 +0530 Subject: [PATCH] ... --- recipes/the_federalist.recipe | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes/the_federalist.recipe b/recipes/the_federalist.recipe index 2a9d66a9e0..9870ad02be 100644 --- a/recipes/the_federalist.recipe +++ b/recipes/the_federalist.recipe @@ -43,6 +43,11 @@ class Federalist(BasicNewsRecipe): ('All', 'https://thefederalist.com/feed/'), ] + # def parse_index(self): + # return [('Articles', [{ + # 'title': 'test', + # 'url': 'https://thefederalist.com/2022/03/09/propaganda-press-wield-bidens-russia-blame-game-to-gaslight-americans-about-expensive-gas/'}])] + def preprocess_html(self, soup): for img in soup.findAll('img', attrs={'data-lazy-src': True}): img['src'] = img['data-lazy-src']