このスクリプトを使用して、Pythonを使用してYouTubeビデオをダウンロードしようとしています。
現在私はこれを次のように使用しています
youtube-dl "http://www.youtube.com/watch?v=dvsdgyuv"
ドキュメントでは、私がこれらを使用できると書いています
id: The sequence will be replaced by the video identifier.
url: The sequence will be replaced by the video URL.
uploader: The sequence will be replaced by the nickname of the person who uploaded the video.
upload_date: The sequence will be replaced by the upload date in YYYYMMDD format.
title: The sequence will be replaced by the literal video title.
stitle: The sequence will be replaced by a simplified video title, restricted to alphanumeric characters and dashes.
ext: The sequence will be replaced by the appropriate extension (like flv or mp4).
epoch: The sequence will be replaced by the Unix epoch when creating the file.
autonumber: The sequence will be replaced by a five-digit number that will be increased with each download, starting at zero.`enter code here`
彼らは私がそれをどのように使うことができるかを書いていません。
ビデオファイル名をタイトルと同じにするためにどのように使用できますか?
彼らはこれを使うように言いました、しかし私はこれをコマンドラインで使う方法を知りません。
%(title)s-%(id)s.%(ext)s.