I apologize, I am sure I'm missing something stupid, and my Python is non-existent. Here is my code in total. It does not produce the desired results. What am I doing wrong? I will be moving along to the python tutorial next, so maybe that will give me the answers...
class AdvancedUserRecipe1260919720(BasicNewsRecipe):
title = u'CCC'
oldest_article = 7
max_articles_per_feed = 100
feeds = [(u'Boston Globe', u'http://feeds.boston.com/boston/topstories')]
def get_article_url(self, a):
return a.get('guid').split('?')[0]+'?mode=PF'
|