Logo
Browse  |  Discovery  |  Donate  |  Forum  |  Movies  |  Upload NZB

Login  |  Register

Bug Reports > API returning invalid GUIID

Started by yousillygoose on 2013-05-04 05:57:33 GMT

yousillygoose
Member
Avatar
2013-05-04 05:57:33 GMT
Hey Hey,

I noticed that for mega, the api fails because of this:
<guid isPermaLink="true">sCKkZDJGBR0k0CtGZfVhBfW8tO7F0RhLcf8HBRWicfKGtRlHZe4-0f850q8pb3hnyDXly4==&m=FTD</guid>

Specifically, the ampersand is not a valid character in the XML response and python's XML parser fails this line. An ugly, but temporary fix for couchpotato users is to simply replace that ampersand. To properly fix this, though, your API has to ensure that it properly escapes all strings.
You must be logged in to post a reply.

API  |  Blog  |  Contact  |  DMCA  |  FAQ  |  Legal  |  Technology  |  Copyright © 2012, nzbX.co