From c0c6a177aa754bbcbb3aad84fa69dd2c34a32012 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 3 Feb 2013 09:10:00 +0530 Subject: [PATCH] HBR - handle two month issues --- recipes/hbr.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/hbr.recipe b/recipes/hbr.recipe index 702795109b..d996cf2200 100644 --- a/recipes/hbr.recipe +++ b/recipes/hbr.recipe @@ -62,7 +62,8 @@ class HBR(BasicNewsRecipe): today = date.today() future = today + timedelta(days=30) - for x in [x.strftime('%y%m') for x in (future, today)]: + past = today - timedelta(days=30) + for x in [x.strftime('%y%m') for x in (future, today, past)]: url = self.INDEX + x soup = self.index_to_soup(url) if (not soup.find(text='Issue Not Found') and not soup.find(