I am retrieving data from a url as:
data = urllib2.urlopen(url).read()
However, I noticed that there are no tags. This was because the "<" and ">" were replaced by ";" character. Everything else is intact. So:
<foo>bar</foo>
is changed to ;foo;bar;/foo;
How can I fix this and why is it happening?
[EDIT]: I found out how to fix it. Apparently, it was replacing '<' with '<' and '>' with '>'. I guess the short forms of the signs. I still don't know why this is happening. I guess some bug in the webservice/API.