From 5015765789f50947f0123aed8e7ee694d828f85a Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Sun, 16 Jun 2024 20:42:00 +0530 Subject: [PATCH] Update india_today.recipe --- recipes/india_today.recipe | 7 ------- 1 file changed, 7 deletions(-) diff --git a/recipes/india_today.recipe b/recipes/india_today.recipe index ae6bf54c68..a2b6ee317d 100644 --- a/recipes/india_today.recipe +++ b/recipes/india_today.recipe @@ -62,13 +62,6 @@ class IndiaToday(BasicNewsRecipe): section = None sections = {} - date = soup.find(attrs={'class':lambda x: x and x.startswith('MagazineEdition_edition__date')}) - edition = soup.find(attrs={'class':'prime__magazine'}) - self.timefmt = '(' + self.tag_to_string(edition).strip() +') [' + self.tag_to_string(date).strip() + ']' - if p := edition.findNext('p'): - self.description = self.tag_to_string(p) - self.log('Downloading Issue: ', self.timefmt) - for tag in soup.findAll('div', attrs={'class': lambda x: x and 'NoCard_story__grid__' in x}): sec = tag.find('div', attrs={'class': lambda x: x and 'NoCard_header__nav__' in x}) section = self.tag_to_string(sec).strip()