Giter Site home page Giter Site logo

无法下载视频列表 about bilix HOT 4 CLOSED

lucifere02 avatar lucifere02 commented on May 26, 2024
无法下载视频列表

from bilix.

Comments (4)

HFrost0 avatar HFrost0 commented on May 26, 2024 2

b站视频列表的接口可能已经变动了呢,这个需要重新适配一下

from bilix.

dengjin4 avatar dengjin4 commented on May 26, 2024

当我想下载某一个up主的视频时,一直出现api error:

bilix get_up 'https://space.bilibili.com/672328094' --num 1

Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.8/site-packages/bilix/download/utils.py", line 90, in wrapped
return await func(client, *args, **kwargs)
File "/opt/anaconda3/lib/python3.8/site-packages/bilix/sites/bilibili/api.py", line 190, in get_up_info
up_name = info["data"]["list"]["vlist"][0]["author"]
KeyError: 'list'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/anaconda3/bin/bilix", line 8, in
sys.exit(main())
File "/opt/anaconda3/lib/python3.8/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/opt/anaconda3/lib/python3.8/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/opt/anaconda3/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/anaconda3/lib/python3.8/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/opt/anaconda3/lib/python3.8/site-packages/bilix/cli/main.py", line 374, in main
loop.run_until_complete(cor)
File "/opt/anaconda3/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/opt/anaconda3/lib/python3.8/site-packages/bilix/sites/bilibili/downloader.py", line 251, in get_up
up_name, total_size, bv_ids = await api.get_up_info(self.client, url_or_mid, 1, ps, order, keyword)
File "/opt/anaconda3/lib/python3.8/site-packages/bilix/download/utils.py", line 94, in wrapped
raise APIParseError(e, func) from e
bilix.exception.APIParseError: APIParseError Caused by KeyError in bilix.sites.bilibili.api:get_up_info

from bilix.

HFrost0 avatar HFrost0 commented on May 26, 2024

bilix get_up 'https://space.bilibili.com/672328094' --num 1

@dengjin4 登录之后试一下,b站现在有些接口做了限制

from bilix.

HFrost0 avatar HFrost0 commented on May 26, 2024

fixed in 0.18.7

from bilix.

Related Issues (20)

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.