kannagi0303 / yt-dlp-gui

Windows GUI for yt-dlp
MIT License
1.25k stars 81 forks source link

Proxy and crash #124

Open MC-dusk opened 9 months ago

MC-dusk commented 9 months ago

I've read some related issue: #89 #67

Hello, I'm facing a really weird problem. I can't use proxy.

I can't visit youtube in my region so I have to use a proxy to download yt video. But when I open my clash and check proxy and set http://127.0.0.1:7890 in the setting, then click analyze button, the software will crash after a long time analyzing the video and failed.

更详细的描述:

  1. 如果先打开clash的系统代理,进入软件就会直接闪退崩溃。
  2. 如果打开clash的tun模式再打开程序,也会崩溃。
  3. 只打开clash,不打开系统代理和tun模式,然后打开yt-dlp-gui,设置如之前所述已经设置好代理,输入一个youtube视频链接,解析很久比如1分钟之后,程序崩溃。
  4. aria2无论是否打开都有上面的问题。
  5. 如果下载其他视频,比如在我的网络环境能直连的视频,比如bilibili,就一切正常。
kannagi0303 commented 9 months ago

感謝你的使用

我這邊沒辦法複製您的運行環境來重現問題, 按照您的描述,我無法知道是哪裡的程序錯誤造成了閃退。

我能想到最有可能的是程序的文件夾沒有權限讓yt-dlp-gui進行讀寫, 您可以嘗試把yt-dlp-gui的運行程序移到不同的文件夾再試試看。

或是先使用yt-dlp的命令列模式來嘗試是否能正常取得youtube視頻。

MC-dusk commented 9 months ago

I really know that you are confused, cause I'm also wondering what's wrong.

I've used yt-dlp cl for a long time and nothing wrong

For example, this is my input argument:

yt-dlp https://www.youtube.com/watch?v=xxxxxxxxx --merge-output-format mkv --embed-metadata --write-info-json --write-thumbnail --convert-thumbnail png --write-subs --write-auto-subs --convert-subs srt --proxy 127.0.0.1:7890 --downloader aria2c --downloader-args aria2c:"-x 4 -k 1M --all-proxy=127.0.0.1:7890"

I've also tried youtube-dl-wpf-v1.12.2-windows (a similar gui of c#), and nothing wrong.

I've reset the program, deleting lang file and yaml setting file, and everything I can do to test, but nothing useful info.

MC-dusk commented 9 months ago

I have to say that when I fall back to yt-dlp-gui 2023.03.20, it goes fine, temporarily.

After some test downloads, same problems reoccur.

The most weird thing is that all the problems seemed no reason, no rules, just can't reproduction.

And also I believe there's not any access permission problem, it's just a normal folder D:\program\yt-dlp-gui

MC-dusk commented 9 months ago

If you have no idea at all about my problem, just feel free to close this issue cause this may be some weird problem of my PC or proxy or network.

Anyway, this is a nice gui, but for me, choose another one may be a better choice.

xuedeer commented 9 months ago

me too me too 开clash代理yt-dlp-gui就会崩溃

xuedeer commented 9 months ago

I can't visit youtube in my region so I have to use a proxy to download yt video. But when I open my clash and check proxy and set http://127.0.0.1:7890/ in the setting, then click analyze button, the software will crash after a long time analyzing the video and failed.

me too me too 开clash代理yt-dlp-gui就会崩溃

chonghai commented 8 months ago

我也有同样的问题,使用proxy下载会崩溃。单独使用yt-dlp下载则正常。 建议作者试一下使用proxy下载debug。估计是哪个代码不兼容。

qingchunnh commented 6 months ago

代理設置應該是輸入socks5://127.0.0.1:7890吧?

yingw commented 5 months ago

same here, but using V2RayN

update:

try to disable proxy setting in APP, open proxy in system, works fine.

or using http: proxy in APP (instead of socks5), disable proxy in system, works fine.

So , just can't use socks5 proxy setting in APP. V2RayN