Update Melbourne Herald Sun

This commit is contained in:
Kovid Goyal 2013-05-28 13:50:05 +05:30
parent c0f549625a
commit 781b95c959

View File

@ -48,7 +48,6 @@ class DailyTelegraph(BasicNewsRecipe):
]
remove_attributes=['lang']
feeds = [(u'Breaking News' , u'http://feeds.news.com.au/public/rss/2.0/heraldsun_breakingnews_206.xml')
,(u'Business' , u'http://feeds.news.com.au/public/rss/2.0/heraldsun_business_207.xml')
,(u'Entertainment' , u'http://feeds.news.com.au/public/rss/2.0/heraldsun_entertainment_208.xml')
@ -70,7 +69,7 @@ class DailyTelegraph(BasicNewsRecipe):
br = BasicNewsRecipe.get_browser(self)
if self.username and self.password:
br.open('http://www.heraldsun.com.au')
br.select_form(nr=0)
br.select_form(nr=1)
br['username'] = self.username
br['password'] = self.password
raw = br.submit().read()
@ -83,3 +82,4 @@ class DailyTelegraph(BasicNewsRecipe):
return article.id