m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/youtube-dl.md
diff options
context:
space:
mode:
authorMartin Chrzanowski <martin@celo.org>2019-01-12 16:55:37 -0500
committerMartin Chrzanowski <martin@celo.org>2019-01-12 16:55:37 -0500
commit8feeb19278b475c1743d05a890b769d2e16b0336 (patch)
tree7e905b8421020566264c66b10de1d94324c63b5c /youtube-dl.md
parent014e4bc2b61208a677ef0b50a220f1403b164bdc (diff)
parentf99bd96f3fb0b92f2e73498dd82571143587f393 (diff)
Merge branch 'master' of https://gitlab.com/m-chrzan/cheatsheets
Diffstat (limited to 'youtube-dl.md')
-rw-r--r--youtube-dl.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/youtube-dl.md b/youtube-dl.md
new file mode 100644
index 0000000..0e2dfb1
--- /dev/null
+++ b/youtube-dl.md
@@ -0,0 +1,14 @@
+# youtube-dl
+
+## Only audio
+
+ youtube-dl -x <url>
+
+## Lower quality
+
+ youtube-dl -f "[filesize<{SIZE}M]" <url>
+
+## 720p
+
+ youtube-dl -f "[height=720]" <url>
+ youtube-dl -f "[height=720]+bestaudio" <url>