Skip to content

XML Parser issue #72

@nader14y

Description

@nader14y

I'm using latest version of this library in my django app. trying to get data from MLSListings RETS feed. It returns the following error:
Traceback (most recent call last):
File "update.py", line 225, in update_mls_server
search_result = client.search(
File "/home/ubuntu/idx/lib/python3.8/site-packages/rets/http/client.py", line 222, in search
return parse_search(rets_response)
File "/home/ubuntu/idx/lib/python3.8/site-packages/rets/http/parsers/parse.py", line 122, in parse_search
elem = parse_xml(response)
File "/home/ubuntu/idx/lib/python3.8/site-packages/rets/http/parsers/parse.py", line 18, in parse_xml
root = XML(response.content)
File "/usr/local/lib/python3.8/xml/etree/ElementTree.py", line 1320, in XML
parser.feed(text)
File "", line None
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 20, column 814

Although it works fine for other MLS feeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions