A cloud infrastructure developer based in JP.
- 🌱 I’m currently learning and sharing on my blog, welcome~
- 🌐 Chinese · Japanese · English
- 📫 How to reach me: [email protected]
B站视频下载,支持下载大会员清晰度4K,持续更新中
License: MIT License
A cloud infrastructure developer based in JP.
如题,感觉moviepy在用ffmpeg重新编码视频,不是应该直接合成吗
例如在#11 中提到的下载 BV1kV4y197Pt 这个视频
会有下面的报错
文艺复兴ε(*・ω・)_-゚:・☆
下载的视频清晰度:高清 720P
开始下载视频: 文艺复兴ε(*・ω・)_-゚:・☆.mp4
Traceback (most recent call last):
File "D:\workplace\py_workplace\bilibili-downloader\main.py", line 41, in <module>
main()
File "D:\workplace\py_workplace\bilibili-downloader\main.py", line 29, in main
b.download(config.URL)
File "D:\workplace\py_workplace\bilibili-downloader\main.py", line 19, in download
self.downloader.download_video(video)
File "D:\workplace\py_workplace\bilibili-downloader\strategy\bilibili_executor.py", line 84, in download_video
self._download(video_url, os.path.join(self.temp_path, video_filename))
File "D:\workplace\py_workplace\bilibili-downloader\strategy\bilibili_executor.py", line 96, in _download
with open(os.path.join(self.temp_path, filename), mode='wb') as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: 'D:\\workplace\\py_workplace\\bilibili-downloader\\temp\\文艺复兴ε(*・ω・)_-゚:・☆.mp4'
比如名字里有" \ "之类的的时候。可以考虑把名字存成hash,之后再转回来
B站更新后,偶尔出现 403: Forbidden
错误
urllib.error.HTTPError: HTTP Error 403: Forbidden
如题。如果可以的话就clone到自己电脑上试一下。谢谢开发团队!
由于更新导致下载收藏夹合集URL时无法获取视频标题
$ python main.py
Traceback (most recent call last):
File "/home/users/work/repos/bilibili-downloader/main.py", line 50, in <module>
main()
File "/home/users/work/repos/bilibili-downloader/main.py", line 28, in main
b.download([
File "/home/users/work/repos/bilibili-downloader/main.py", line 17, in download
video = self.crawler.get(url)
File "/home/users/work/repos/bilibili-downloader/strategy/bilibili_executor.py", line 42, in get
video = strategy.get(video)
File "/home/users/work/repos/bilibili-downloader/strategy/default.py", line 50, in get
title = self.get_video_title(bs)
File "/home/users/work/repos/bilibili-downloader/strategy/default.py", line 32, in get_video_title
video_title = bs.find('h1 title').get_text()
AttributeError: 'NoneType' object has no attribute 'get_text'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.