View Single Post
Old 04-18-2009, 07:04 PM   #458
OlaNordmann
Junior Member
OlaNordmann began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2009
Device: Sony 700BC
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"
OlaNordmann is offline