From cbc95ed9e5869b1aa516ac06c31aae5dc855ed90 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 7 Feb 2018 21:50:15 +0530 Subject: [PATCH] ... --- recipes/nytimes.recipe | 2 +- recipes/nytimes_sub.recipe | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/nytimes.recipe b/recipes/nytimes.recipe index 2d7230b30a..b5d40b9384 100644 --- a/recipes/nytimes.recipe +++ b/recipes/nytimes.recipe @@ -66,7 +66,7 @@ class NewYorkTimes(BasicNewsRecipe): remove_tags = [ dict(attrs={'aria-label':'tools'.split()}), dict(attrs={'data-videoid':True}), - dict(name='button'), + dict(name='button meta link'.split()), dict(id=lambda x: x and x.startswith('story-ad-')), dict(name='a', href=lambda x: x and '#story-continues-' in x), dict(name='a', href=lambda x: x and '#whats-next' in x), diff --git a/recipes/nytimes_sub.recipe b/recipes/nytimes_sub.recipe index c87393fab6..6f04133f49 100644 --- a/recipes/nytimes_sub.recipe +++ b/recipes/nytimes_sub.recipe @@ -66,7 +66,7 @@ class NewYorkTimes(BasicNewsRecipe): remove_tags = [ dict(attrs={'aria-label':'tools'.split()}), dict(attrs={'data-videoid':True}), - dict(name='button'), + dict(name='button meta link'.split()), dict(id=lambda x: x and x.startswith('story-ad-')), dict(name='a', href=lambda x: x and '#story-continues-' in x), dict(name='a', href=lambda x: x and '#whats-next' in x),