先看看
111111
学一学如何下载B站视频
感谢老铁
good{:5_109:}
强哈666666
我用不行提示 ‘stdOutputFile’ object has no attribute 'buffer'
学习学习
{:10_277:}
666
学习学习{:5_109:}
File "D:\Python\Python38\lib\site-packages\you_get\common.py", line 23, in <module>
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8')
AttributeError: 'StdOutputFile' object has no attribute 'buffer'
我用这个代码时出错,提示解码有错,如何修改?请大侠指点,谢谢
请教大侠,我在用下列代码爬取b站视频,出错,
import sys
from you_get import common as you_get
directory = r'D:\downL01'
url = 'https://www.bilibili.com/video/BV1ex411H7vP?p=15'
sys.argv = ['you-get','-o',directory,url]
you_get.main()
提示解码有错,如何修改?请大侠指点,谢谢
File "D:\Python\Python38\lib\site-packages\you_get\common.py", line 23, in <module>
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8')
AttributeError: 'StdOutputFile' object has no attribute 'buffer'
提示解码有错,如何修改?请大侠指点,谢谢
File "D:\Python\Python38\lib\site-packages\you_get\common.py", line 23, in <module>
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8')
AttributeError: 'StdOutputFile' object has no attribute 'buffer'
as
666,牛皮
这个厉害
哦,厉害了,楼主好伟大
1
666666