Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Parser issue #72

Open
nader14y opened this issue Apr 3, 2024 · 0 comments
Open

XML Parser issue #72

nader14y opened this issue Apr 3, 2024 · 0 comments

Comments

@nader14y
Copy link

nader14y commented Apr 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant