This commit is contained in:
unkn0w7n 2024-07-26 10:46:14 +05:30
parent e848f9ba30
commit 230812bc74
6 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
__license__ = 'GPL v3'
__author__ = 'Luis Hernandez'
__copyright__ = 'Luis Hernandez<tolyluis@gmail.com>'

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
__license__ = 'GPL v3'
__author__ = 'Ricardo Jurado'
__copyright__ = 'Ricardo Jurado'

View File

@ -53,11 +53,8 @@ class horizons(BasicNewsRecipe):
url = 'https://www.cirsd.org' + url
self.cover_url = a.find('img')['src']
self.log(self.cover_url)
issue = a.find('div', attrs={'class':'horizon-gallery-title'})
if issue:
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)
self.title = url.split('/')[-1].replace('-', ' ').title()
self.log('Downloading Issue: ', self.title)
soup = self.index_to_soup(url)
feeds = []

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
__license__ = 'GPL v3'
__copyright__ = '2010-2012, Darko Miletic <darko.miletic at gmail.com>, Rogelio Domínguez <rogelio.dominguez@gmail.com>'
'''

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
# feed source: https://www.nhk.or.jp/toppage/rss/index.html

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
"""
scmp.com
"""