diff --git a/recipes/ap.recipe b/recipes/ap.recipe index 1a77d20a91..0d290bccd4 100644 --- a/recipes/ap.recipe +++ b/recipes/ap.recipe @@ -28,12 +28,11 @@ class AssociatedPress(BasicNewsRecipe): ignore_duplicate_articles = {'title', 'url'} remove_empty_feeds = False keep_only_tags = [ - classes('ap_headTitle'), - dict(id="byLine"), - dict(id=lambda x: x and x.startswith('storyBodyDiv')), + classes('topTitle articleImage articleBody'), ] remove_tags = [ - dict(id='ppPhoto ppPhoto1'.split()), + classes('ad-placeholder modalImageButton modalVideoButton'), + dict(name='button'), ] def parse_index(self):