mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update The Australian
This commit is contained in:
parent
f2a3233e9a
commit
11345abc31
@ -56,6 +56,9 @@ class DailyTelegraph(BasicNewsRecipe):
|
|||||||
(u'Travel', u'https://www.news.com.au/content-feeds/latest-news-travel/'),
|
(u'Travel', u'https://www.news.com.au/content-feeds/latest-news-travel/'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
def get_browser(self):
|
||||||
|
return BasicNewsRecipe.get_browser(self, user_agent='common_words/based')
|
||||||
|
|
||||||
def get_article_url(self, article):
|
def get_article_url(self, article):
|
||||||
ans = article.link
|
ans = article.link
|
||||||
if '/video/' in ans:
|
if '/video/' in ans:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user