Comments (2)
环境描述
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.
去除引号试一下吧,看debug信息是url多了额外的引号
from bilix.
Related Issues (20)
- 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
- Documents URL Link not working HOT 1
- [增加]按照UP主的文字分类存放
- 【bilix get_up 】KeyError: 'list' HOT 2
- [Suggest] 移除pyexecjs依赖
- get_up 命令提示Can't find any handler for method: 'get_up' HOT 5
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.