From a4aa8f778007b735ffd3cb1a7ab9c230225a2b46 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Mon, 2 Sep 2024 17:52:18 +0530 Subject: [PATCH] Update wsj.recipe mag on Saturday --- recipes/wsj.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index 6e14e4e353..a588271ce0 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -179,7 +179,7 @@ class WSJ(BasicNewsRecipe): if '-pages_' in k: section = k.split('-pages_')[0].replace('_', ' ') if 'MAGAZINE' in section: - if not dt.day == 1: + if not (dt.day in {1, 2, 3, 4, 5, 6, 7} and dt.weekday() == 5): continue self.log('Loading Magazine section') self.log(section)