Remove Weekend section as it is no longer updated

This commit is contained in:
Kovid Goyal 2022-08-03 18:34:32 +05:30
parent 9e34ba665f
commit fbaa69f74e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -113,6 +113,4 @@ class Guardian(BasicNewsRecipe):
feeds = self.parse_section(self.base_url)
feeds += self.parse_section(
'https://www.theguardian.com/uk/sport', 'Sport - ')
if date.today().weekday() in (5, 6):
feeds += self.parse_section('https://www.theguardian.com/theguardian/weekend', 'Weekend - ')
return feeds