GithubHelp home page GithubHelp logo

Comments (2)

q465970957 avatar q465970957 commented on June 16, 2024 1

环境描述

Windows 11 x64

Python 3.11.8

bilix 0.18.8

Package

Package           Version
----------------- --------
aiofiles          23.2.1
annotated-types   0.6.0
anyio             4.3.0
beautifulsoup4    4.12.3
bilix             0.18.8
browser-cookie3   0.19.1
bs4               0.0.2
certifi           2024.2.2
click             8.1.7
colorama          0.4.6
construct         2.8.8
danmakuC          0.3.6
h11               0.14.0
h2                4.1.0
hpack             4.0.0
httpcore          1.0.5
httpx             0.27.0
hyperframe        6.0.1
idna              3.7
json5             0.9.25
lz4               4.3.3
m3u8              4.1.0
markdown-it-py    3.0.0
mdurl             0.1.2
pip               24.0
protobuf          5.26.1
pycryptodome      3.20.0
pycryptodomex     3.20.0
pydantic          2.7.0
pydantic_core     2.18.1
Pygments          2.17.2
pymp4             1.4.0
rich              13.7.1
setuptools        65.5.0
sniffio           1.3.1
soupsieve         2.5
typing_extensions 4.11.0

问题描述

下载收藏夹视频报错:Can't find any handler for method: 'get_favour' keys

问题复现

bilix get_favour 'https://space.bilibili.com/11499954/favlist?fid=1445680654' --num 20

调试信息

DEBUG    Debug on, more information will be shown
DEBUG    CLI KEY METHOD and OPTIONS: {'num': 20, 'method': 'get_favour', 'keys':
         ("'https://space.bilibili.com/11499954/favlist?fid=1445680654'",), 'path': WindowsPath('videos'), 'quality': 0,
         'video_concurrency': 3, 'part_concurrency': 10, 'cookie': None, 'days': 7, 'order': 'pubdate', 'keyword': None,
         'series': True, 'hierarchy': True, 'image': False, 'subtitle': False, 'dm': False, 'only_audio': False,
         'p_range': None, 'codec': '', 'speed_limit': None, 'stream_retry': 5, 'browser': None, 'time_range': None}
DEBUG    import cost 2.255852 s <module 'bilix.sites.bilibili'>
DEBUG    import cost 0.618544 s <module 'bilix.download.base_downloader_m3u8'>
DEBUG    import cost 0.000000 s <module 'bilix.download.base_downloader_part'>
DEBUG    import cost 0.016011 s <module 'bilix.sites.douyin'>
DEBUG    import cost 0.183186 s <module 'bilix.sites.hanime1'>
DEBUG    import cost 0.032520 s <module 'bilix.sites.jable'>
DEBUG    import cost 0.016218 s <module 'bilix.sites.tiktok'>
DEBUG    import cost 0.032029 s <module 'bilix.sites.yinghuacd'>
DEBUG    import cost 0.015982 s <module 'bilix.sites.youtube'>
DEBUG    import cost 0.030962 s <module 'bilix.sites.cctv'>
DEBUG    duo to ImportError <No module named 'execjs'>, skip <module 'bilix.sites.yhdmp'>
ERROR    Can't find any handler for method: 'get_favour' keys:
         ("'https://space.bilibili.com/11499954/favlist?fid=1445680654'",)

Windows环境下载收藏夹视频 URL 加双引号或者移除单引号

bilix get_favour "https://space.bilibili.com/11499954/favlist?fid=1445680654" --num 20

from bilix.

HFrost0 avatar HFrost0 commented on June 16, 2024 1

去除引号试一下吧,看debug信息是url多了额外的引号

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.