horizons update

This commit is contained in:
unkn0w7n 2023-09-28 20:49:28 +05:30
parent 82846b43c7
commit a97991d8aa
3 changed files with 3 additions and 2 deletions

View File

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