This commit is contained in:
Kovid Goyal 2022-10-23 09:11:47 +05:30
parent 92b0f3e78d
commit 8537ba6de2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -44,6 +44,9 @@ class IndiaToday(BasicNewsRecipe):
dict(name='div', attrs={'amp-access':'NOT granted'})
]
def preprocess_raw_html(self, raw_html, url):
return raw_html.replace('—', '--')
def get_cover_url(self):
soup = self.index_to_soup(
'https://www.readwhere.com/magazine/the-india-today-group/India-Today/1154'