View Single Post
Old 01-18-2011, 01:07 PM   #1
miwie
Connoisseur
miwie began at the beginning.
 
Posts: 76
Karma: 12
Join Date: Nov 2010
Device: Android, PB Pro 602
Suggestion: get_cover_url for el_pais.recipe

I'd like to suggest the following improvement of the el_pais.recipe:

Code:
from time import strftime
...
def get_cover_url(self):
   url = 'http://img5.kiosko.net/' + strftime("%Y/%m/%d") + '/es/elpais.750.jpg'
   return url
This adds the tiel page of the actual print edition as cover page (http://kiosko.net has daily cover pages of many newspapers worldwide).
miwie is offline   Reply With Quote