It seems that RTE has changed the data they share, or at least the format in which they share it, so that the current code can't be used anymore.