-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Milestone
Description
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!