AttributeError: ‘list‘ object has no attribute ‘split‘报错

requests.utils.unquote(video_data).replace('":"','https:')代码出现错误:

Traceback (most recent call last):
  File "C:/Users/Administrator/Desktop/代码备份/pachong.py", line 10, in
    video_url=requests.utils.unquote(video_data).replace('":"','https:')
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\urllib\parse.py", line 635, in unquote
    string.split
AttributeError: 'list' object has no attribute 'split'

求解答

你可能感兴趣的:(python,list)