zwhe 发表于 2020-5-13 16:19:24

先看看

seoka 发表于 2020-5-14 11:13:13

111111

88888 发表于 2020-5-14 13:11:12

学一学如何下载B站视频

woshixiaoxu 发表于 2020-5-14 13:58:30

感谢老铁

阿young 发表于 2020-5-14 23:56:33

good{:5_109:}

Cool_Breeze 发表于 2020-5-16 11:22:14

强哈666666

爬虫大牛 发表于 2020-5-16 13:14:44

我用不行提示 ‘stdOutputFile’ object has no attribute 'buffer'

2230086274 发表于 2020-5-16 15:07:42

学习学习

lingheaila 发表于 2020-5-20 11:48:22

{:10_277:}

Youngyf 发表于 2020-5-23 17:32:31

666

liubo0633 发表于 2020-5-23 20:34:54

学习学习{:5_109:}

casanava 发表于 2020-6-9 14:27:58

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'
我用这个代码时出错,提示解码有错,如何修改?请大侠指点,谢谢

casanava 发表于 2020-6-9 15:40:23

请教大侠,我在用下列代码爬取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'

casanava 发表于 2020-6-9 15:43:43

提示解码有错,如何修改?请大侠指点,谢谢
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'

tydxs 发表于 2020-6-12 16:19:48

as

无尽火域 发表于 2020-6-12 18:21:25

666,牛皮

java2python 发表于 2020-6-12 18:25:24

这个厉害

java2python 发表于 2020-6-12 18:30:47

哦,厉害了,楼主好伟大

余小c真的很强 发表于 2020-6-14 20:25:58

1

bob.shi 发表于 2020-6-15 13:02:22

666666
页: 55 56 57 58 59 60 61 62 63 64 [65] 66 67 68 69 70
查看完整版本: 爬取B站视频