Guys.. What am I doing wrong?
Quote:
feeds = [(u'Nyheter utenriks', u'http://www1.vg.no/rss/create.php?categories=12&keywords=&limit=10')]
def print_version(self, url):
return url.replace('http://go.vg.no/cgi-bin/go.cgi/vg-rss-12/http://www.vg.no/nyheter/utenriks/artikkel.php', 'http://www.vg.no/pub/skrivervennlig.hbs')
|
Fu*ker goes ahead and fetches "http://go.vg.no/cgi-bin/go.cgi/vg-rss-12/http://www.vg.no/nyheter/utenriks/artikkel.php?artid=562364" instead of "http://www.vg.no/pub/skrivervennlig.hbs?artid=562364"