还有这种搔操作
大佬666
{:5_108:}
看看
{:5_109:}
牛啤
来观摩一下大佬的作品
自愧不如{:10_278:}
很不错!!!!
看看
非常实用 的小程序!!!
if (BV := self.settings.info["BV"]):报错
魔豆豆 发表于 2021-3-5 19:37
if (BV := self.settings.info["BV"]):报错
你输入的什么,报的什么错
Python 版本多少
^-^
本帖最后由 H.E.G. 于 2021-3-7 09:38 编辑
Exception in thread Thread-20:
Traceback (most recent call last):
File "F:\Python_box\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "F:\Python_box\Python\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:/Users/YELAOSHI/Desktop/Python3.8/B站视频下载器/main.py", line 88, in main
filenames = self.DBV.download_video(aid, cids, infos)
File "C:\Users\YELAOSHI\Desktop\Python3.8\B站视频下载器\get_video.py", line 101, in download_video
url = res["data"]["durl"]["url"]
KeyError: 'data'
这个错误怎么解决?
H.E.G. 发表于 2021-3-7 09:35
Exception in thread Thread-20:
Traceback (most recent call last):
File "F:\Python_box\Python\Pyt ...
你输入的BV号是什么
qiuyouzhi 发表于 2021-3-7 09:44
你输入的BV号是什么
BV1Qt411675R
H.E.G. 发表于 2021-3-7 10:49
BV1Qt411675R
要会员的
你有会员吗,有的话把get_video函数的
Download_Bilibili_Video类里的open_url的headers加一个Cookie
回复
qiuyouzhi 发表于 2021-3-7 10:57
要会员的
你有会员吗,有的话把get_video函数的
Download_Bilibili_Video类里的open_url的headers加一 ...
如果没有呢
怎么处理header?
H.E.G. 发表于 2021-3-7 14:12
如果没有呢
怎么处理header?
没有就没办法咯
怎么处理header?
什么意思?