This commit is contained in:
unkn0w7n 2025-04-06 18:15:14 +05:30
parent 640236e09c
commit a0edf08944

View File

@ -15,7 +15,7 @@ def absurl(url):
class TheHindu(BasicNewsRecipe): class TheHindu(BasicNewsRecipe):
title = 'The Hindu ' title = 'The Hindu Print Edition'
__author__ = 'unkn0wn' __author__ = 'unkn0wn'
description = "Articles from The Hindu, Today\'s Paper. This recipe now works only for yesterday\'s edition." description = "Articles from The Hindu, Today\'s Paper. This recipe now works only for yesterday\'s edition."
language = 'en_IN' language = 'en_IN'
@ -68,6 +68,7 @@ class TheHindu(BasicNewsRecipe):
return soup return soup
def parse_index(self): def parse_index(self):
self.title = 'The Hindu'
local_edition = 'th_chennai' local_edition = 'th_chennai'
d = self.recipe_specific_options.get('location') d = self.recipe_specific_options.get('location')
if d and isinstance(d, str): if d and isinstance(d, str):