如何解决too many value to unpack(expected 2)

img

img

headers 和 params 应该写成字典

headers = {'user-agent': 'xxxxxx'}

headers和params应该是字典,在冒号左边和右边各自加上一个引号