<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.2.4">
</HEAD>
<BODY>
I hoped to find a service that didn't require me to parse html.<BR>
It appears that oanda.com doesn't like scripts: they mess up the numbers with all kinds of invisible html things; such as a random comment or a random non-printing character. Useless.<BR>
Now using xe.com, with a little work got the correct request string, and then some html digging and got the numbers. It's a hack but it works.<BR>
<BR>
Wouter.<BR>
<BR>
On Fri, 2006-04-07 at 12:23 +0900, Bengt Thuree wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Fr, 2006-04-07, 11:58, Wouter van Marle skrev:</FONT>
<FONT COLOR="#000000">&gt; Hi all,</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">&gt; Maybe a bit off-topic: but does anyone know where I can download the</FONT>
<FONT COLOR="#000000">&gt; current currency exchange rates, automatically (using a Python script -</FONT>
<FONT COLOR="#000000">&gt; not GnuCash)?</FONT>
<FONT COLOR="#000000">&gt;</FONT>
<FONT COLOR="#000000">Guess you already checked these sites</FONT>
<FONT COLOR="#000000"><A HREF="http://www.oanda.com/">http://www.oanda.com/</A></FONT>
<FONT COLOR="#000000"><A HREF="http://www.x-rates.com/">http://www.x-rates.com/</A></FONT>
<FONT COLOR="#000000"><A HREF="http://www.xe.com/">http://www.xe.com/</A></FONT>

<FONT COLOR="#000000">Should be possible to find an URL from these site which would suite you.</FONT>
<FONT COLOR="#000000">Perhaps</FONT>
<FONT COLOR="#000000"><A HREF="http://www.x-rates.com/cgi-bin/cgicalc.cgi?value=1&base=USD">http://www.x-rates.com/cgi-bin/cgicalc.cgi?value=1&amp;base=USD</A></FONT>
<FONT COLOR="#000000"><A HREF="http://www.oanda.com/convert/fxdaily?value=1&date_fmt=us&lang=en&exch=USD&exch2=&expr2=&dest=Get+Table&sel_list=CAD_CHF_GBP_JPY&format=ASCII&redirected=1">http://www.oanda.com/convert/fxdaily?value=1&amp;date_fmt=us&#9001;=en&amp;exch=USD&amp;exch2=&amp;expr2=&amp;dest=Get+Table&amp;sel_list=CAD_CHF_GBP_JPY&amp;format=ASCII&amp;redirected=1</A></FONT>

<FONT COLOR="#000000">/Bengt</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>