Work around Last.fm's 'Namespace prefix opensearch on totalResults is not defined' XML error

This commit is contained in:
hugovk 2017-10-24 00:04:05 +03:00
parent 485d69184c
commit 52636b6764
2 changed files with 13 additions and 1 deletions

View file

@ -2483,7 +2483,7 @@ class _Search(_BaseObject):
doc = self._request(self._ws_prefix + ".search", True)
return _extract(doc, "opensearch:totalResults")
return _extract(doc, "totalResults")
def _retrieve_page(self, page_index):
"""Returns the node of matches to be processed"""