From b3ac5522ec481cb1e4ae8e770735c1a1ae6b218e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 27 Oct 2011 04:37:31 +0530 Subject: [PATCH] Fix #882260 (Updated recipe for El Universal from Venezuela) --- recipes/eluniversal_ve.recipe | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/eluniversal_ve.recipe b/recipes/eluniversal_ve.recipe index d7c2c4710b..8118ded19d 100644 --- a/recipes/eluniversal_ve.recipe +++ b/recipes/eluniversal_ve.recipe @@ -56,6 +56,7 @@ class ElUniversal(BasicNewsRecipe): ] def print_version(self, url): - rp,sep,rest = url.rpartition('/') - return rp + sep + 'imp_' + rest + return url + '-imp' + def get_article_url(self, article): + return article.get('guid', None)