
youtube-dl playlist 在 コバにゃんチャンネル Youtube 的最佳貼文

Search
#1. downloading a playlist - youtube-dl - Stack Overflow
8 Answers · Open terminal and if you don't have brew install it. · Run brew install youtube-dl ffmpeg and install youtube-dl and ffmpeg for ...
Youtube -dl基本介紹很多Youtube線上影片下載服務可能會有一些限制,像是畫質、音質和檔案格式限制下載頻率不能太密集、效率不夠好無法下載整份 ...
#3. ytdl-org/youtube-dl: Command-line program to download ...
Command-line program to download videos from YouTube.com and other video sites ... --yes-playlist Download the playlist, if the URL refers to a video and a ...
#4. 批次下載Youtube 播放清單影片,並轉成音訊MP3 - EPH 的 ...
testuser@localhost ~ $ youtube-dl -h Usage: youtube-dl [OPTIONS] URL [URL...] Options: Video Selection: --no-playlist Download only the ...
#5. Youtube-dl Tutorial With Examples For Beginners - OSTechNix
Youtube-dl is a most popular command line YouTube downloader application. Youtube-dl can be able to download a single track or the entire playlist in one go.
#6. downloads - 使用youtube-dl下載多個文件- Ubuntu問答
將 <url-of-playlist> 替換為播放列表的URL,將 FORMAT 替換為任何可用的視頻格式,例如 18 和 NUMBER 是播放列表中開始/結束下載的視頻編號。 Channel.
#7. How to use youtube-dl to download multiple ... - gHacks
If you want to download multiple video files that are not related to each other, e.g. from a single playlist file or channel, you may use a text ...
#8. How can I download part of a playlist from YouTube with ...
You can use: --playlist-start , --playlist-end , --playlist-reverse or --playlist-items to achieve this goal. For example to download 2 ...
#10. youtube-dl; How download ONLY the playlist, NOT the files ...
Did u read the page wysiwig suggested in his comment? (thanks @wysiwig!) List Youtube playlist with youtube-dl. Anyway, here I'll try to explain what you ...
#11. 如何下載YouTube 播放清單| 4K Download
#12. 如何將完整的YouTube 播放清單下載為MP3、M4A 和OGG - 4K ...
#13. Top 11 YouTube Playlist Downloader For 2021 [Online & Free]
List of Best YouTube Playlist Downloaders For Mac & Windows. SnapDownloader; 4K Video Downloader; By Click Downloader; Y2mate YouTube Playlist ...
#14. youtube-dl toolbox.ipynb - Colaboratory - Google
#@title Video + Playlist Downloder - Simple Mode { vertical-output: true } url = "https://www.youtube.com/playlist?list=PLM9L_dc48Wr-CjYe9YFlJ9GXZmg7CPZS3" ...
#15. How To Download A YouTube Playlist And Convert It To MP3 ...
This article explains using youtube-dl to download a YouTube playlist (be it a regular YouTube playlist or a text file containing YouTube ...
#16. 下載youtube playlist @ 工作小錦囊 - 隨意窩
使用youtube-dl (https://rg3.github.io/youtube-dl/download.html) 1. 下載最新版sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o ...
#17. youtube-dl - ArchWiki
Contents · 4.1 Faster downloads · 4.2 Playlist · 4.3 Trim (partial download) · 4.4 URL from clipboard.
#18. YouTube Playlist Downloader - CoConvert
How to convert YouTube playlists? · Look up the link to the YouTube playlist you want to download. · Copy and paste it in the URL box. · Choose the format of your ...
#19. Install Playlist-Dl -YouTube Playlist Downloader on Linux
Playlist -Dl is a powerful GUI app for Searching, Browsing, Playing and Downloading YouTube Playlists on Linux Desktop. Features:.
#20. LOADER.TO – 可以下載YouTube 播放清單 - 就是教不落
進入網站後直接貼上YouTube 播放清單的網址,然後選擇要下載的格式,以及下方可以選擇要下載第幾部到第幾部,相當的方便,接下來按下Download,就會 ...
#21. youtube-dl 簡介
Introduction youtube-dl is a command-line program to download ... 這邊將以Youtube 影片清單 English Playlist 為例,若要下載影片則鍵入: ...
#22. downloading youtube playlists using youtube-dl in highest ...
youtube -dl -f 22 'http://www.youtube.com/watch?v=P9pzm5b6FFY'
#23. yt-dl-playlist - npm
yt -dl-playlist. 2.1.0 • Public • Published a year ago. Readme · Explore BETA · 5 Dependencies · 0 Dependents · 9 Versions ...
#24. Youtube Multi Downloader Online Free
Free youtube downloader online, free youtube video downloader online, download youtube online free, youtube downloader mp3 online free without any software, ...
#25. ddownr - Online Downloader
Download Youtube videos and playlists online for free. ddownr is fast, secure, free and most important easy to use!
#26. How To Download Complete YouTube Playlists To Your ...
Last but not the least, Safeshare is a nice addition if you're looking to download a YouTube playlist onto your device. As it's a web-based ...
#27. YouTube-下载播放列表-youtube-dl - QA Stack
因此,您想要的是: youtube-dl -i -f mp4 --yes-playlist 'https://www.youtube.com/watch?v=7Vy8970q0Xc&list=PLwJ2VKmefmxpUJEGB1ff6yUZ5Zd7Gegn2' 另外, ...
#28. 使用you-get 和youtube-dl下载YouTube视频列表 - Chuantao
摘要: 本文记录怎样使用you-get或youtube-dl工具下载整个youtube播放列表的内容。 ... 手动将watch参数改为playlist,再加list参数就可以,即改 ...
#29. 技术|如何使用youtube-dl 只下载音频 - Linux中国
Grab the playlist URL. 现在你有了播放列表的URL,你可以用它来下载MP3 格式的音频文件,方法如下: youtube-dl --extract-audio --audio-format mp3 ...
#30. youtube-dl網路影片下載器
1. 簡介 · 2. 安裝. 2.1. MAC; 2.2. Ubuntu; 2.3. Python · 3. 使用. 3.1. 支援; 3.2. 格式; 3.3. 輸出格式; 3.4. 字幕; 3.5. 轉為音樂格式; 3.6. 下載播放 ...
#31. youtube-dl - download videos from youtube.com or other ...
--yes-playlist Download the playlist, if the URL refers to a video and a playlist. --age-limit YEARS Download only videos suitable for the given age ...
#32. Playlist does not exist : r/youtubedl - Reddit
im running youtube-dl on debian (also had same issue on ubuntu) and i can dowload a video with just putting in the link and no arguements, ...
#33. 如何使用youtube-dl 脚本从播放列表中的某个索引开始下载?
youtube -dl --help , contains : Video Selection: --playlist-start NUMBER Playlist video to start ...
#34. youtube-dl cheatsheet - Sachith Muhandiram
Downloading a playlist ... Here you just have to paste the YouTube playlist url. youtube-dl will automatically download the full playlist for you. ... This is a ...
#35. How To Download a YouTube Playlist Without Installing an App
One such website that's available for downloading YouTube playlists is YouTubeMP4. This site provides a simple UI and is easy to navigate and interact with. To ...
#36. Download YouTube playlist online for free - DVDVideoSoft.com
Download YouTube playlist online for free · 1. Run a YouTube Playlist to MP3 Converter and MP4 Downloader. · 2. Copy the video link from YouTube.
#37. Youtube Downloader - Video Downloader Online Free - Btclod
BTCLOD.COM online Youtube downloader enables you to download anything that you can from Youtube, whether that's audio, MP3, playlist, or video. Whatever is in ...
#38. ViDL for Mac - omz:software
You can easily download entire playlists from YouTube (just enter the playlist URL), or pick and choose from the list of thumbnails. Download Audio. ViDL can ...
#39. 常用的youtube-dl命令(持续更新)_zhaohongfei_358的博客
常用案例查看版本youtube-dl --version更新版本(若下载失败可尝试更新 ... --yes-playlist Download the playlist, if the URL refers to a video and a playlist.
#40. Download YouTube Videos in Linux Command Line - It's FOSS
To download a playlist, simply run the following command. Where “playlist_url” is the URL of the playlist that you want to download. youtube-dl ...
#41. [Python] 關於youtube-dl - No More Codes - 痞客邦
最近想要下載整批的youtube影片, 有些是教學系列, 有些是電影戲劇, 用了一些工具程式, ... 網頁playlist 下載: 先呼叫find_all_videos(playlist_url), ...
#42. Download any YouTube playlist in mp3 for free | playlist-youtu ...
Compress your videos into a zip file by pressing the "Compress in .zip" button, then download your playlist by pressing the "Download !" button. Or convert your ...
#43. youtube-dl 下载playlist 命令 - CSDN博客
下载playlist到每个user的文件夹下带字幕文件 youtube-dl -o '%(uploader)s/%(playlist_title)s/%(playlist_index)s %(title)s.
#44. How To Download Complete YouTube Playlists - Online Tech ...
ddownr is a free online YouTube video downloader that also supports playlists. Just paste the playlist URL into the text box, specify the range ...
#45. Automaticly download and update youtube playlist - Unix ...
Use this --download-archive archivefile.txt option. youtube-dl --download-archive FILE. youtube-dl both reads and adds to a list of files ...
#46. how to download a playlist using youtube-dl] code example
Example 1: downloading youtube playlists using youtube-dl in highest quality youtube-dl -f 22 'http://www.youtube.com/watch?v=P9pzm5b6FFY' Example 2: ...
#47. YouTube Playlist: How to Download YouTube Videos in Bulk
Download YouTube playlists using Videoder on Android · Download and install the Videoder app on your phone. · Open Videoder > tap YouTube in the ...
#48. Download a playlist with youtube-dl - metacpan.org
This document describes version 0.007 of youtube-dl-playlist (from Perl distribution App-YoutubeDlUtils), released on 2020-09-09.
#49. [筆記]如何使用youtube-dl 下載YouTube 會員限定的影片
Dave Parrish – How to download private videos from YouTube with youtube-dl ... sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O ...
#50. 支援多首同時下載!轉MP3/MP4下載工具!批次下載音樂及影片
如果你在YouTube聽音樂有建播放清單,就可以一次下載清單裡面所有的音樂、影片!米拉編平常都會分類歌曲,所以下載起來更方便唷! ▽【➀貼上音樂清單網址】 ...
#51. How to Download Audio Only Using youtube-dl - WebSetNet
youtube -dl is a versatile command line tool for downloading videos from YouTube and many ... Download entire YouTube playlist in MP3 format.
#52. Comment utiliser et maitriser Youtube-dl pour télécharger des ...
Comment installer Youtube-dl Alors déjà pour l'installation, si vous êtes sous Windows ... youtube-dl --playlist-items XX URL_DE_LA_PLAYLIST.
#53. youtube-dl man | Linux Command Library
Download a playlist and extract MP3s from it. $ youtube-dl -f "bestaudio" --continue --no-overwrites --ignore-errors --extract-audio --audio-format mp3 -o ...
#54. youtube-dl Man Page - macOS - SS64.com
Download video+audio either single files or entire playlists. Supports YouTube, Vimeo etc. Syntax youtube-dl [OPTIONS] URL [URL...] Options -F, --list-formats ...
#55. youtube-dl - Gitee
youtube -dl是一个用来从YouTube.com网站上下载视频文件的命令行工具。 ... --flat-playlist Do not extract the videos of a playlist, only list them.
#56. 【2021 YouTube轉MP3/MP4】15種推薦下載方法大評比 - 熊阿貝
熊阿貝收集了超多快速免費下載Youtube音樂和影片的方法,都是我本人實測 ... 有些轉檔網站還支援Youtube 1080P 60FPS、4K、8K、播放清單Playlist和 ...
#57. youtube-dl - 错误后继续下载| 经验摘录
-ciw 在下载播放列表时使用组合是很好的. -i, --ignore-errors Continue on download errors, for example to skip unavailable videos in a playlist - ...
#58. Download Youtube Playlists and Release through Github ...
For the moments where it shows and suggests videos/playlists to us, we might want to save the list of playlist and watch in some other time. It ...
#59. How to Install and Use YouTube-DL on Ubuntu 18.04 - Linoxide
Resuming interrupted downloads; Extracting mp3 from video files; Downloading all video files from a playlist; Download only the videos uploaded ...
#60. 使用教學!Youtube-DL 圖形化:免費強大的「影音下載」軟體
Youtube -DL-Gui 是一款免費強大的「影音下載」軟體, ... 只想要下載「第一個」影片/ 音訊,可以勾選「Only Download Single File From Playlist」。
#61. 批量下载YouTube播放列表(playlist)视频、字幕 - 博客园
本文是一篇使用youtube-dl如何对YouTube上的播放列表(playlist)的视频、音频、字幕文件进行下载的教程。
#62. youtube-dl to download entire playlist - VideoHelp Forum
Hi, I'm using youtube-dl to extract audio from various sources using: C:\Users\me>C:\Shortcuts\youtube-dl\youtube-dl.exe --add-metadata -x ...
#63. How import a playlist via youtube-dl? | SinusBot Forums
When I create a new playlist, check "Show advanced options" and paste the link from the youtube playlist I get this error: INFO Could not ...
#64. The 5 Best YouTube Playlist Downloaders to Grab Videos in ...
The 5 Best YouTube Playlist Downloaders to Grab Videos in Bulk · 1. 4K Video Downloader · 2. Gihosoft TubeGet · 3. VLC Media Player.
#65. Tools : youtube-dl 下載影片的利器 - 雄
--audio-quality : 設定聲音轉檔時的音質,0~9 ,數字愈小,品質愈高。預設值是5 (128K)。 --playlist-start : 指定Youtube 播放清單由第幾部影片開始。
#66. youtube-dl - Download playlist items in reverse order - mos6581
Series of videos are typically uploaded to YouTube playlists in chronological order. ... Conflicts: youtube_dl/YoutubeDL.py youtube_dl/__init__.py
#67. 在 sid 中的 youtube-dl 套件詳細資訊 - Debian -- Packages
downloader of videos from YouTube and other sites. ... It supports downloading entire playlists and all videos from a given user.
#68. Como baixar uma playlist do Youtube usando o youtube-dl
Baixar uma PlayList completa do YouTube com youtubedl · youtube-dl -cit https://www.youtube.com/playlistlist=PL7ixwLw4Wu5sOzfpUAPfvIRscvwIl9IiQ.
#69. How to do parallel downloads with youtube-dl - alexwlchan
The first command ( --get-id ) gets a list of video IDs in the playlist, one per line. Those IDs get piped to xargs, which calls individual ...
#70. How to Use Youtube‐dl - wikiHow
Youtube -dl is a small command-line program to download videos from YouTube ... videos will be downloaded in the order in which they appear in the playlist.
#71. youtube-dl || 从YouTube、BiliBili上下载视频 - 知乎专栏
youtube -dl是一个命令行程序,可以从YouTube和一些其他网站*下载视频。 ... youtube-dl --yes-playlist [url] 当链接为视频列表,则下载该列表视频, ...
#72. YouTube播放列表下载器
Download youtube playlist with one tap. Download youtube videos, music, playlists with our PC app. Videoder for PC makes it easier than ever to build your own ...
#73. youtube-dl - manned.org
DESCRIPTION youtube-dl is a small command-line program to download videos from YouTube.com ... --playlist-reverse Download playlist videos in reverse order ...
#74. youtube-dl常见用法 - 玩客
youtube -dl 是一款命令行下的视频下载工具,看着名称像是YouTube 下载工具,其实这款工具 ... youtube-dl https://www.youtube.com/playlist?list= ...
#75. 9 Best youtube-dl GUIs - LinuxPip
youtube -dl is written in Python, runs in Linux, Windows and Mac OS X and ... playlist options: you can enter the first and last video in the ...
#76. YoutubeDL开始下载整个播放列表而不是一个视频- 问答 - 腾讯云
我试图使用Youtubedl从Youtube下载视频。我轻松下载了该播放列表 ... youtube-dl --no-playlist“https://www.youtube.com/watch?v=wtdFPppcup4&list= ...
#77. downloading a playlist - youtube-dl - Config Router
Youtube – downloading a playlist – youtube-dl ... In a shell, & is a special character, advising the shell to start everything up to the & as a ...
#78. YouTube Video Downloader: Save Playlists Offline Now!
How to download playlists from YouTube? ... 1. Copy the link to the YouTube playlist. 2. Search YouTube playlist downloader on google and select ...
#79. ytdl / youtube-dl - Projects · Explore · GitLab
youtube -dl is a command-line program to download videos from ... --no-playlist Download only the video, if the URL refers to a video and a ...
#80. Package - @mfederczuk/youtube-dl-playlist - cnpmjs.org
youtube -dl-playlist is a Node.js program that uses youtube-dl or cURL to download an entire playlist loaded in from a JSON file.
#81. 如何使用youtube-dl下載Youtube的影片 - icka's Home
如何下載youtube的影片在之前的文章有&… ... 如果你只想無腦的下載,操作非常簡單,首先下載Youtube-dl和ffmpeg的程式,放在同一個資料夾當中(FFmpeg只 ...
#82. Youtube-dl 详细使用教程与初学上手示例 - 系统极客
Youtube -dl 是一款采用Python 编写的免费、开源、命令行程序, ... youtube-dl -o '%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.
#83. Comment télécharger une playlist dans Youtube via ... - JDN
La commande "youtube-dl" vous permet de paramétrer plus finement le téléchargement de la playlist. L'option "-o" permet de spécifier un ...
#84. Ubuntu – Downloading multiple files with youtube-dl - iTecTec
If all of the videos are in the same playlist or the same channel, you can save time by using the following shortcuts. Playlist. youtube-dl -f FORMAT -ciw -o "% ...
#85. [教學] youtube-dl win版文字介面簡易版教學- 看板EZsoft
youtube 經常在更新最常見就是突然無法下載,跳錯誤(一些貼網址下載的釣魚(劃掉)網站 ... -o "%(uploader)s\%(playlist)s_%(upload_date)s_%(title)s.
#86. Youtube-dl not being able to download playlists[Solved]
Hello people. I want to know if youtube-dl is having problem while downloading playlists from youtube. I was trying to download playlist from youtube using ...
#87. 10 FREE YouTube Playlist Downloaders[Online/PC/Android ...
Top 10 Best YouTube Playlist Downloaders Around · 1. Ddownr (Web) · 2. 4K Video Downloader (Windows, macOS, Linux) · 3. Loader.to (Web) · 4. By Click Downloader ( ...
#88. youtube-dl下载在播放列表上停止,视频丢失 - 码农家园
youtube -dl download stops on playlist with video missing我正在使用youtube-dl从播放列表下载以进行离线观看。 播放列表的运营商已开始将排定的 ...
#89. A youtube-dl fork with additional features and fixes | PythonRepo
yt -dlp is a youtube-dl fork based on the now inactive youtube-dlc. ... does not have a videos tab, we try to download the equivalent UU playlist instead.
#90. Re: [詢問] 關於Youtube一次全部下載youtube-dl - 看板Google
解壓縮youtube-dl.rar檔案到目錄3.開啟命令提示字元cmd,用cd指令切換到要下載影片的目錄下載指令範例單一影片 ※以下指令為Windows指令,UNIX系列請自行更換路徑 ...
#91. YouTube: Playlist downloaden - so geht's - CHIP Praxistipps
Öffnen Sie die gewünschte Playlist auf YouTube und kopieren Sie die URL. Starten Sie den 4K Video Downloader und klicken Sie oben auf den Button ...
#92. Youtube Playlist Downloader - 在線YouTube播放列表轉換器
Youtube PlayList Downloader Online 1080p,4K,高清。 YouTube播放列表到MP3 320kbps在線轉換器。 如何在PC,Android,Iphone上在線下載Youtube播放列表視頻。
#93. 用Youtube-dl下載視頻:新手示例(上) - 每日頭條
youtube -dl -o '%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s' https://www.youtube.com/watch?v=7E-cwdnsiow.
#94. How to Download MP3 Tracks from a YouTube Video Using
Download Multiple MP3 Tracks from YouTube Playlist. As you probably noticed, youtube playlists are getting more and more popular lately. So the ...
#95. youtube-dl
youtube -dl downloads ... See the right for more resources. As everybody already knows our dev repository has been reinstated not so long ago. You can read the ...
#96. Youtube download 2021
Nov 15, 2021 · Free YouTube Playlist Downloader helps to download any playlist from YouTube. 264/MPEG-4, DivX, XviD, MOV,MKV, H. Select the video/audio ...
#97. How to Download Videos or Playlist from Youtube in Linux
#98. Download m3u8 linux - Jersey Marine
File Editing (including utf-8 m3u playlist file . m3u8) and right click copy link; Step 2: Download mp4 using youtube-dl.
youtube-dl playlist 在 [教學] youtube-dl win版文字介面簡易版教學- 看板EZsoft 的推薦與評價
文字介面對不懂英文的人可能比較難上手
做個簡易教學
這篇不會用到git流程
也不需要架python或其他語言環境
(會上面的請不要看這篇好嗎XD)
https://github.com/ytdl-org/youtube-dl
這是ytdl的git頁面
往下拉直接就是說明
要下載 點release
最上面就是最新的版本
youtube經常在更新
最常見就是突然無法下載,跳錯誤
(一些貼網址下載的釣魚(劃掉)網站也會很神奇的同步失效 ㄏㄏ)
當你發現無法下載,大概過一兩天有新版下指令更新就好了
你要穩定+更新快就是用ytdl
(ytdl不只能抓youtube 還能抓twitter、bili、p_rnhub等一大堆網站根本數不完)
因為git是全世界的人都可以共同維護
youtube一偷改甚麼,大概沒幾分鐘就會有人反應
(然後太多人洗版直接關issues→在修了不要吵辣XD)
(一些看vtuber的監控室(?)/自家保存(?)工具其實也是用ytdl,幾乎24小時都有人盯著)
大約1~2小時,很快就會有人寫好修復方法推上去
但因為要跑流程,不會馬上就release新版本
需要第一時間更新請自己學git流程
人家改好放上去,就自己下指令更新/自己修改編譯/直接用python跑
就不用等git那邊release
windwos懶人環境就是下載*.exe執行檔
然後做一些設定後
打開cmd/powershell (就windows的文字介面)
輸入youtube-dl就可以直接調用
下載之後放到你好記的位置
例如C:\youtube-dl\youtube-dl.exe
(這是超懶人的爛例子,知道我在說啥就不要亂學)
win10
開始→右鍵→系統→(右上)系統資訊→(左上)進階系統設定
進階→環境變數
上面的使用者變數下
有個path(路徑)
點兩下 編輯
新增
輸入剛才放youtube-dl.exe的"資料夾路徑"
上面例子就是C:\youtube-dl
改好一路確定儲存
這樣設定之後
C:\youtube-dl這個資料夾下面所有的exe執行檔
都可以在任何地方打開cmd/powershell後直接調用
就跟內鍵的dos/powershell指令一樣
在任意資料夾(最好是你要放下載檔案的位置)下
按住shift+右鍵
會多一個在這裡開啟powershell
你現在可以用youtube-dl下載所有支援網站的影片了
指令很簡單
youtube-dl youtube影片/播放清單/使用者影片列表的網址
例如
youtube-dl https://www.youtube.com/watch?v=pIZHuwR6FKQ
這不是最好的,但是是最懶人的格式
[以下進階使用]
更多指令請看,全都寫在上面了
https://github.com/ytdl-org/youtube-dl
要說真的一篇說不完
google很方便,相信有寫得比我好的教學
沒有也沒關係,不懂英文沒啥好怕
現在chrome右鍵直接翻譯很方便
加減看也能懂個七八成
看不懂就直接試試看就懂了
ytdl
可以下載影像
可以下載聲音
可以下載縮圖(Thumbnail)
可以下載字幕(Subtitle)←要過濾出你要的不然會一大堆自動翻譯/多國語言全抓下來
可以下載串流
可以設定多個設定檔,下載不同網站時直接調用就不用花時間改指令
可以配合cookie/代理繞過各種魔法(?)
可以用批次檔/python/其他語言環境調用配合其他工具各種花式使用
etc...
youtube為了適應各種下載速度/硬體,自動減少流量使用/調整畫質
現在一個影片會有一大堆不同格式
用-F指令可以看有甚麼格式(注意大小寫有差)
這指令也可以用來測試ytdl支不支援這網站
支援的話就會列出能下載的格式
youtube-dl -F https://www.youtube.com/watch?v=t2X3wlvoShg
預設的mp4下載一些短片並不會有甚麼問題
但如果是幾十分鐘甚至一小時以上,或是2K、4K
那個檔案大小會很歡樂
一般會改選vp9(影像)+opus(聲音)←這樣會包成mkv,因為mp4不支援
相比mp4+m4a檔案更小,品質還可能更好
指令用小寫的 -f 格式就可以選你想要的格式
以上面當範例
要抓最高畫質又想節省空間,指令就改成
youtube-dl -f 303+251 https://www.youtube.com/watch?v=pIZHuwR6FKQ
因為不一定所有影片都有你要的格式
想要自動選擇也可以寫好幾個條件選最好的
只要用/隔開就好,優先順序是由左到右
像這個例子
-f 243+251/243+140/134+140/bestvideo+bestaudio/best
會從最左邊條件開始嘗試抓
都抓不到就會抓預設的best
下載的檔案名稱也可以用-o自由設定
可以抓取的資料都在說明頁面的OUTPUT TEMPLATE下
https://github.com/ytdl-org/youtube-dl
這些主要是支援youtube但其他網站也是可以用的
只是可能其他網站並沒有這個資料,就抓不到
範例
youtube-dl -o "%(uploader)s\%(playlist)s_%(upload_date)s_%(title)s.%(ext)s"
https://www.youtube.com/watch?v=pIZHuwR6FKQ
這樣抓下來檔案會自己放到
アズールレーン資料夾下
檔名
NA_20200326_期間限定イベント「闇靄払う銀翼」 イメージPV.mp4
↑因為這是單影片網址所以抓不到播放清單名稱顯示NA
[好孩子不要學]
播放清單有可能影片很多
但ytdl為了避免流量太大youtube不爽
預設是一個抓完才會抓下一個
加速方法
用播放清單(playlist)指令+不下載影片只輸出資料
只提取影片的網址,再傳遞給多個ytdl/其他批量工具
就可以一次下載好幾個影片
不過這樣會損失播放清單名稱
不想損失播放清單名稱
ytdl可以指定下載清單裡的第幾個檔案
用個簡單迴圈
想同時下載幾個就執行幾個ytdl
好幾倍速
其實已經接近程式設計的領域了XD
指令跟工具一大堆
1萬個人可以有1萬種花式解法
純指令→批次檔/設定檔→python或其他語言→結合其他工具
[結合其他工具使用]
live(直播)是hls(串流)
可以用ffmpeg/streamlink +vlc直接用撥放器看
相比在瀏覽器開網頁看
優點:
消耗的系統資源大幅降低
可以多線程降低網路不穩(不論你或up)的影響←可能增加延遲
減少延遲
可以一次開10幾個撥放器同時看
可以設定buffer(緩衝)←播放會更穩定,但緩衝越大延遲也越高
串流不只能看,也可以直接下載
(我會跟你說有時人家vtuber還在直播,翻譯群已經分工打軸+翻譯完了嗎)
但ytdl原意是下載影片,對直播的支援還是streamlink比較好
雖然沒有一定
下面Q&A有
Should I add --hls-prefer-native into my config?
有時ytdl比較好
有時ffmpeg比較好
有時streamlink比較好
甚至有時要cookie/代理繞過魔法(?)
ytdl也可以只提取出網址然後傳給其他下載工具如aria來下載
一堆毛
也是說不完
streamlink/ffmpeg其實就跟ytdl一樣,執行檔抓下來
環境變數設定一下,打個指令就可以用
要再進階一點但是又不想架程式環境
就是寫批次檔
ytdl/streamlink都可以寫設定檔(config)
不同網站不同設定直接載入
以上是很懶人不想架程式環境的方法
會用git很好
會用python更好
不需要用這麼陽春的方法
ytdl-dlg也是可以下指令
寫在options→extra就可以
建議勾選ignore youtube-dl config(忽略ytdl設定檔)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.33.176.49 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/EZsoft/M.1585232504.A.BBC.html
※ 編輯: x94fujo6 (114.33.176.49 臺灣), 03/26/2020 22:25:30
... <看更多>