From 2504269d8728eb8d786ede3d243798b994cdba4f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 29 Apr 2016 07:42:09 +0530 Subject: [PATCH] ... --- recipes/the_oz.recipe | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes/the_oz.recipe b/recipes/the_oz.recipe index f42494de4e..3c9ae28da1 100644 --- a/recipes/the_oz.recipe +++ b/recipes/the_oz.recipe @@ -8,7 +8,11 @@ http://www.theaustralian.news.com.au/ ''' from calibre import browser -from calibre.web.feeds.jsnews import JavascriptRecipe +try: + from calibre.web.feeds.jsnews import JavascriptRecipe +except ImportError: + # Allow compiling of recipes to work until this recipe is ported + from calibre.web.feeds.news import BasicNewsRecipe as JavascriptRecipe from calibre.web.feeds import feed_from_xml class DailyTelegraph(JavascriptRecipe):