This commit is contained in:
Kovid Goyal 2023-09-28 20:55:08 +05:30
commit 79fb9a96b7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 3 additions and 2 deletions

View File

@ -41,8 +41,9 @@ class horizons(BasicNewsRecipe):
self.log(self.cover_url) self.log(self.cover_url)
issue = a.find('div', attrs={'class':'horizon-gallery-title'}) issue = a.find('div', attrs={'class':'horizon-gallery-title'})
if issue: if issue:
self.timefmt = ' [' + self.tag_to_string(issue).strip() + ']' self.title = self.tag_to_string(issue).strip()
self.log('Downloading Issue: ', self.timefmt) self.timefmt = ' [' + self.tag_to_string(issue).strip().replace('Horizons ', '') + ']'
self.log('Downloading Issue: ', self.timefmt, self.title)
soup = self.index_to_soup(url) soup = self.index_to_soup(url)
feeds = [] feeds = []

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 934 B

After

Width:  |  Height:  |  Size: 171 B