Work around Last.fm's 'Namespace prefix opensearch on totalResults is not defined' XML error
This commit is contained in:
parent
485d69184c
commit
52636b6764
2 changed files with 13 additions and 1 deletions
|
@ -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"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue