Comments (15)
提供一下原始命令,我瞧瞧。可以先排查一下,关闭文件管理和视频播放器等软件
from bilix.
提供一下原始命令,我瞧瞧。可以先排查一下,关闭文件管理和视频播放器等软件
重启PC了,使用新版本就有这种现象,0.7.2版本没有问题。
bilix get_video https://www.bilibili.com/video/BV1sV4y1x76y
from bilix.
emmm,你能否帮我试验一下,把D:\Program Files (×86)\Python\lib\site-packages\bilix\utils.py
的第54行从
async with await anyio.open_file(file_list[idx], 'rb') as fa:
await f.write(await fa.read())
os.remove(file_list[idx])
改为
async with await anyio.open_file(file_list[idx], 'rb') as fa:
await f.write(await fa.read())
os.remove(file_list[idx])
就是缩进往前一下,因为我在macos和linux上没有遇到这个问题,只能你来帮我测一下了🫠
from bilix.
emmm,你能否帮我试验一下,把
D:\Program Files (×86)\Python\lib\site-packages\bilix\utils.py
的第54行从async with await anyio.open_file(file_list[idx], 'rb') as fa: await f.write(await fa.read()) os.remove(file_list[idx])
改为
async with await anyio.open_file(file_list[idx], 'rb') as fa: await f.write(await fa.read()) os.remove(file_list[idx])
from bilix.
看着好像没对齐哦,os前面看着应该要多加一个空格,跟上面那个52 行async with的a对齐
from bilix.
看着好像没对齐哦,os前面看着应该要多加一个空格,跟上面那个52 行async with的a对齐
不好意思,让您久等了,现在改好了,刚才在测试,发现可以下载了,但是出现了一个went问题,就是生成的缓存文件没有自动删除,以前没有此问题
from bilix.
哈哈,你这个对齐错了,应该是52行那个。
from bilix.
看着好像没对齐哦,os前面看着应该要多加一个空格,跟上面那个52 行async with的a对齐
确定文件夹事先是空文件夹,没有任何文件,下载后才生成的。
from bilix.
我知道了,就是这里代码写的有问题。之前这个地方重构的时候疏忽了,Linux和MacOS的系统可能判定宽松一些,最正确写法应该要在with语句出来之后再对文件进行操作
from bilix.
我知道了,就是这里代码写的有问题。之前这个地方重构的时候疏忽了,Linux和MacOS的系统可能判定宽松一些,最正确写法应该要在with语句出来之后再对文件进行操作
那没有其他要测试了吧?
from bilix.
我等下会发布0.8.4,你可以先改了试一试,感谢帮忙debug🙏
from bilix.
我等下会发布0.8.4,你可以先改了试一试,感谢帮忙debug🙏
还有那个事先生成的缓存文件合并后无法自动删除的问题,麻烦也要修复一下啊。后面0.8.4版本要是没问题的话我就不反馈了,说明我没有发现问题,后面要是有其他问题我再反馈哈。
from bilix.
哈哈,你这个对齐错了,应该是52行那个。
你那个是因为你缩进错位置了,出了for循环,导致只删掉了最后一个。0.8.4已上传,再次感谢帮忙找bug🥹
from bilix.
哈哈,你这个对齐错了,应该是52行那个。
你那个是因为你缩进错位置了,出了for循环,导致只删掉了最后一个
哦哦,好的,我不是计算机专业的,业务爱好者。刚才0.8.4新版本测试了,目前完美,可以正常使用了
from bilix.
没关系,开源项目本来就大家一起找问题解决问题的
from bilix.
Related Issues (20)
- httpx.RemoteProtocolError: <ConnectionTerminated error_code:0, last_stream_id:1999, additional_data:None> HOT 1
- 根据你们的文档操作,但是不能 HOT 2
- 这个怎么下载字幕呢,用 bilix v https://www.bilibili.com/video/BV18g4y1U7zR --subtitle 不行! HOT 2
- 下载时判断当前目录名,如果所在目录为 videos (不区分大小写) 则不新建目录 HOT 1
- 请求添加自定义输出文件名的功能 HOT 2
- 使用get_up获取某个up的所有投稿视频的时候,可能会获取到已经失效的视频?然后get_video_info就会发生报错?
- ImportError due to deprecated 'cgi' module in Python 3.13
- 0.18.6 regression test failure HOT 6
- api错误 HOT 1
- 报错
- 报错 HOT 2
- bilix.exception.APIParseError: APIParseError Caused by KeyError in <bilix.sites.bilibili.api:get_up_video_info> HOT 1
- python和vc++都是最新的,为啥报错 HOT 2
- Specify profile directory with from-browser
- Python 调用如何使用cookie? HOT 1
- bilix0.18.8执行报错 HOT 4
- mac下载的视频文件只有音频,没有画面 HOT 4
- 下载b站视频合集时,raise EndOfStream from None
- New feat: BaseDownloader can switch to faster url when provided multiple urls for same resource
- 请问可以通过api接口的形式访问吗 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bilix.