opennaslab / kubespider

A global resource download orchestration system, build your home download center.
https://kubespider.netlify.app/
Apache License 2.0
2k stars 114 forks source link

怎么搭配Metube(ytdlp)? #513

Open gygy opened 4 months ago

gygy commented 4 months ago

Ask your question here:

metube安装 `services: metube: image: ghcr.io/alexta69/metube:latest container_name: metube restart: unless-stopped ports:

download 配置 `yt-dlp: type: ytdlp_download_provider enable: true http_endpoint_host: http://192.168.80.3 http_endpoint_port: 8081 auto_format_convet: false target_format: mp4 download_proxy: priority: 1 handle_host:

错误日志 2024-05-10 06:16:19,798-INFO: Download general file with downloader(yt-dlp) 2024-05-10 06:16:19,804-INFO: Send general task:{"dataSource": "https://www.youtube.com/watch?v=r7h4zNC1-2M", "path": "VideoMixed/", "autoFormatConvert": false, "targetFormat": "mp4", "downloadProxy": null} 2024-05-10 06:16:19,808-ERROR: Send general task error:405

richardli1598 commented 3 months ago

我试试

richardli1598 commented 3 months ago

之前没这么用过

richardli1598 commented 2 months ago

这个解决了吗?

gygy commented 2 months ago

还是一样错误。

下载器配置 `yt-dlp: type: ytdlp_download_provider enable: true http_endpoint_host: http://192.168.80.3 http_endpoint_port: 8081 auto_format_convet: false target_format: mp4 download_proxy:

By default, yt-dlp supports downloading resources from various websites.

Therefore, we set it with the highest priority.

priority: 1 handle_host:

richardli1598 commented 2 months ago

ok,我看看

richardli1598 commented 2 months ago

我这边用 hack/install_ytdlp.sh 安装的,测试可以用,这是我的配置:

yt-dlp:
  type: ytdlp_download_provider
  enable: true
  http_endpoint_host: http://127.0.0.1
  http_endpoint_port: 3082
  auto_format_convet: false
  target_format: mp4
  download_proxy: http://192.168.31.175:7890
  # By default, yt-dlp supports downloading resources from various websites.
  # Therefore, we set it with the highest priority.
  priority: 0
  handle_host:
    - www.youtube.com
    - youtube.com
    - www.ted.com
    - youtu.be
    - m.youtube.com

可以确认一下你的配置吗?

http_endpoint_host: http://192.168.80.3
http_endpoint_port: 8081

这里的ip和端口是否正确

richardli1598 commented 2 months ago

哦,Metube和yt-dlp接口不一样,ks还没有适配。

有兴趣的话,可以适配下,实现几个接口就行

gygy commented 2 months ago

哦,Metube和yt-dlp接口不一样,ks还没有适配。

有兴趣的话,可以适配下,实现几个接口就行

yt dlp可以docker安装吗?Metube 主要优点有前台界面

richardli1598 commented 2 months ago

可以的

gygy commented 2 months ago

使用yt-dlp docker版本 `services: yt-dlp-webui: image: marcobaobao/yt-dlp-webui container_name: yt-dlp-webui ports:

下载提示如下错误: 2024-06-29 18:50:44,985-INFO: Download general file with downloader(yt-dlp) 2024-06-29 18:50:44,992-INFO: Send general task:{"dataSource": "https://www.youtube.com/watch?v=33bZIOLX4do", "path": "VideoMixed/", "autoFormatConvert": false, "targetFormat": "mp4", "downloadProxy": null} 2024-06-29 18:50:44,998-ERROR: Send general task error:404