mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
pep8
This commit is contained in:
parent
4664ef6f38
commit
1088d699b7
@ -6,6 +6,7 @@ abc.net.au/news
|
|||||||
import re
|
import re
|
||||||
from calibre.web.feeds.recipes import BasicNewsRecipe
|
from calibre.web.feeds.recipes import BasicNewsRecipe
|
||||||
|
|
||||||
|
|
||||||
class ABCNews(BasicNewsRecipe):
|
class ABCNews(BasicNewsRecipe):
|
||||||
title = 'ABC News'
|
title = 'ABC News'
|
||||||
__author__ = 'Pat Stapleton, Dean Cording, James Cridland'
|
__author__ = 'Pat Stapleton, Dean Cording, James Cridland'
|
||||||
@ -36,9 +37,9 @@ class ABCNews(BasicNewsRecipe):
|
|||||||
'inline-content story left', 'inline-content map left contracted',
|
'inline-content story left', 'inline-content map left contracted',
|
||||||
'inline-content full embedYouTube embedded', 'published',
|
'inline-content full embedYouTube embedded', 'published',
|
||||||
'story-map', 'statepromo', 'topics', ]})]
|
'story-map', 'statepromo', 'topics', ]})]
|
||||||
#inner = key points
|
# inner = key points
|
||||||
#attached-content = related stories
|
# attached-content = related stories
|
||||||
#authorpromo = "Contact NameOfJournalist"
|
# authorpromo = "Contact NameOfJournalist"
|
||||||
|
|
||||||
remove_attributes = ['width', 'height']
|
remove_attributes = ['width', 'height']
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
from calibre.web.feeds.news import BasicNewsRecipe
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|
||||||
class Politics(BasicNewsRecipe):
|
class Politics(BasicNewsRecipe):
|
||||||
title = u'The Courier-Mail'
|
title = u'The Courier-Mail'
|
||||||
description = 'Breaking news headlines for Brisbane and Queensland, Australia. The Courier-Mail is owned by News Corp Australia.'
|
description = 'Breaking news headlines for Brisbane and Queensland, Australia. The Courier-Mail is owned by News Corp Australia.'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user