Giter VIP home page Giter VIP logo

bilibili-downloader's Introduction

Hi I'm tyokyo320 👋

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]

Activity ⚡

tyokyo320's github status

Technology Stack 🐾

🛠️ Development Stack
Category Technologies
Core
Infrastructure
Miscellaneous

bilibili-downloader's People

Contributors

cucu avatar dependabot[bot] avatar smalltrain555 avatar tyokyo320 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bilibili-downloader's Issues

视频合成太慢

如题,感觉moviepy在用ffmpeg重新编码视频,不是应该直接合成吗

windows下文件名含有非法字符会报错

例如在#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'

关于下载时遇到的问题咨询

image

您好,我已经配置好了环境,上图所示,并且也更新了SESSDATA,下载时遇到了问题,下图,请问方便教我一下吗?

image

AttributeError: 'NoneType' object has no attribute 'get_text'

🗿 概要

由于更新导致下载收藏夹合集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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.