Originally reported by guosen xu (Bitbucket: dai31, GitHub: Unknown)
Q1:
#!python
result = api.item_search('Toys', Keywords='Rocket')
print result.results
print result.pages
print result.current
is ok!
but:
#!python
print etree.tostring(result)
#or
print etree.tostring(results, pretty_print=True)
Will be an error: Type 'SearchPaginator' cannot be serialized.
Q2:
#!python
for item in result:
tmp = etree.tostring(item)
print tmp
If something wrong happens to traverse the midway, how should I continue to traverse?
Thanks!
Originally reported by guosen xu (Bitbucket: dai31, GitHub: Unknown)
Q1:
is ok!
but:
Will be an error: Type 'SearchPaginator' cannot be serialized.
Q2:
If something wrong happens to traverse the midway, how should I continue to traverse?
Thanks!