aboutsummaryrefslogtreecommitdiff
path: root/content/pages
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-05-20 16:24:23 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-05-20 16:24:23 +0200
commitcbc16bcd3819e516092dd7c678297777c09136dd (patch)
treec3200cdc68293a86824fc374e359f48fbd5656d7 /content/pages
parent9e220c76c725429f49324dd0d98e2640552cd461 (diff)
downloadmitjafelicijan.com-cbc16bcd3819e516092dd7c678297777c09136dd.tar.gz
Paste: Mass YT download
Diffstat (limited to 'content/pages')
-rwxr-xr-xcontent/pages/pastebin.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/content/pages/pastebin.md b/content/pages/pastebin.md
index fb6021b..675accc 100755
--- a/content/pages/pastebin.md
+++ b/content/pages/pastebin.md
@@ -7,6 +7,20 @@ draft: false
7 7
8*No additional explanation provided here. Use blog for more detailed stuff.* 8*No additional explanation provided here. Use blog for more detailed stuff.*
9 9
10**▒ Download list of YouTube files**
11
12```js
13// Used to get list of raw URL's from YouTube's video tab'.
14// Copy them into videos.txt.
15document.querySelectorAll('#contents a.ytd-thumbnail.style-scope.ytd-thumbnail').forEach(el => console.log(el.href))
16```
17
18Download and install https://github.com/yt-dlp/yt-dlp.
19
20```sh
21yt-dlp --batch-file videos.txt -N `nproc` -f webm
22```
23
10**▒ Install Plan9port on Linux** 24**▒ Install Plan9port on Linux**
11 25
12```sh 26```sh