Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TheYellowArchitect/youtube-dlp-bash
Bash script which opens youtube-dlp on the dmenu, and optionally pastes the clipboard
https://github.com/TheYellowArchitect/youtube-dlp-bash
Last synced: 4 days ago
JSON representation
Bash script which opens youtube-dlp on the dmenu, and optionally pastes the clipboard
- Host: GitHub
- URL: https://github.com/TheYellowArchitect/youtube-dlp-bash
- Owner: TheYellowArchitect
- Created: 2021-08-29T19:58:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-29T21:16:33.000Z (about 3 years ago)
- Last Synced: 2024-08-01T16:53:10.433Z (3 months ago)
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# youtube-dlp-bash
**No copying URL! No pressing paste or enter!!**You select your text, and activate this script by a hotkey shortcut (e.g F9) and **you instantly download the video!**
No pressing enter or confirmation or whatever bs. Literally 1 button download, couldn't be smoother. No "copy" -> "select input field" -> "paste" -> "enter" on whatever video downloader```
#!/bin/sh# Replace /username/ with your username under home directory
# or replace the entire path with wherever you want these videos to be saved.
xclip -o | xargs -r yt-dlp -P "/home/username/videos"
```Now, you may want to write the URL yourself, or paste it manually, or press enter to confirm the url yourself before downloading.
```
#!/bin/sh# Give your input to dmenu (bash could work, but ? character triggers zsh globs and other annoying terminal bugs)
targeturl="$(dmenu -p Download