UnblockNeteaseMusic / UnblockNeteaseMusic/server

读取 HTTP_PROXY 环境变量给 yt-dlp

Open
#1,433 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
7.8k
Forks
762
PR merge metrics
No merged PRs in 30d

Description

需求描述

根据文档 YouTube 音源需要部署在 Google 认定的非中国大陆区域 IP 地址。

可否读取 HTTP_PROXY 、 HTTPS_PROXY 给 yt-dlp --proxy URL 设定参数,再另行部署科学服务,就可以在大陆使用 YouTube 音源了。

https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#network-options

https://github.com/ytdl-org/youtube-dl?tab=readme-ov-file#network-options

预期行为

No response

网易云音乐版本号

No response

操作系统

No response

其他信息

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating where the server invokes yt-dlp and how command arguments are assembled. Check how HTTP_PROXY and HTTPS_PROXY should be selected and passed as yt-dlp's --proxy URL option; done means the configured proxy is forwarded correctly and the existing yt-dlp behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.