This commit is contained in:
Kovid Goyal 2020-02-24 07:14:00 +05:30
parent 4664ef6f38
commit 1088d699b7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 8 additions and 6 deletions

View File

@ -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']

View File

@ -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.'