Quote:
Originally Posted by kovidgoyal
You want
Code:
def get_article_url(self, article):
link = article.get('link')
if 'audio' not in link:
return link
|
Kovid,
Thanks for showing that method. I have been doing the preprocess one for a while like with the popscience.recipe but your method is cleaner and faster. Thanks again. I will be updating the popscience for submission in a future build so it implements this. That is one thing I love about this forum and calibre. I learn something new every single day by folks helping others.