選單圖示

zhuhe

典藏資源

勸學新篇

作業系統




山東巡撫 孫氏奏

為正常使用youtube-dl提供解決方案

安裝參照官網

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl

sudo chmod a+rx /usr/local/bin/youtube-dl

或 sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl

使用代理需求

最佳畫質最後加地址或末位

youtube-dl --proxy socks5://127.0.0.1:1089 -c -f 'bestvideo[height>=1080][ext=mp4]+bestaudio[ext=m4a]/best' -o '%(title)s.%(ext)s' 地址

斷點續傳是-c

批量下載

youtube-dl --proxy socks5://127.0.0.1:1089 -c -f 'bestvideo+bestaudio/best' -a url.txt


參考一

Sock代理

參考二

Sock代理


出現403錯誤

嘗試一 升級youtube-dl -U

嘗試二 清楚緩存youtube-dl --rm-cache-dir


參考三調用外部線程

調用外部線程

參考四調用外部線程

調用外部線程

參考五調用外部線程Windows方案

調用外部線程

參考六調用外部線程proxychains方案

調用外部線程

參考七四大下載神器

四大下載神器

此陳列下載方案僅恭摺具

陳伏乞

皇上聖鑒謹

知道了

成憲辛丑年八月廿四日