From 297a2abea2dc8744bcd77b92a282d7d4d84890c7 Mon Sep 17 00:00:00 2001 From: bobbysteel Date: Tue, 20 Jun 2017 13:49:37 +0100 Subject: [PATCH] Fix classes for Comments section not loading --- recipes/times_online.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/times_online.recipe b/recipes/times_online.recipe index 8670bca194..277e404231 100644 --- a/recipes/times_online.recipe +++ b/recipes/times_online.recipe @@ -80,8 +80,8 @@ class TimesOnline(BasicNewsRecipe): ] remove_attributes = ['lang'] keep_only_tags = [ - dict(attrs={'class': 'Article Article--default'} - ), dict(attrs={'class': 'f-author'}), dict(attrs={'id': 'bodycopy'}) + {'attrs': {'id': ['article-main','bodycopy']}}, + {'attrs': {'class': ['Article Article--default','f-author']}} ] remove_tags_after = dict(attrs={'class': 'Article-content'})