View Single Post
Old 09-29-2010, 04:39 PM   #4
t3d
Enthusiast
t3d began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Nov 2009
Location: Poland
Device: kindle 1st gen, kindle dxg, kindle paperwhite2
Quote:
Originally Posted by kovidgoyal View Post
You want

Code:
def get_article_url(self, article): 
        link = article.get('link')
        if 'audio' not in link:
             return link
Working well and already implemented:
http://github.com/t3d/kalibrator/com...3ad755eb6e597e

Thanks!
t3d is offline   Reply With Quote