J'd like to create recipe for cosmopolitan US
J want to use print version and in order to do that J need to change url of articles.
for instance:
from:
http://www.cosmopolitan.com/sex-love/dating-advice/tips-for-long-distance-relationships?src=rss
to:
http://www.cosmopolitan.com/print-this/tips-for-long-distance-relationships?src=rss
and J don't know how to do this?
any help?
this is source code:
Code:
class AdvancedUserRecipe1305470859(BasicNewsRecipe):
title = u'Cosmopolitan'
oldest_article = 14
max_articles_per_feed = 100
feeds = [(u'Sex & Love', u'http://www.cosmopolitan.com/sex-love/rss/'), (u'Hair & Beauty', u'http://www.cosmopolitan.com/hairstyles-beauty/rss/'), (u'Celebs & Style', u'http://www.cosmopolitan.com/celebrity/rss/'), (u'Secrets & Advice', u'http://www.cosmopolitan.com/advice/rss/')]