mirror of
https://github.com/wekan/wekan.git
synced 2026-02-27 02:14:06 +01:00
Updated YouTube (markdown)
parent
e93b123959
commit
3d69a63783
1 changed files with 24 additions and 0 deletions
24
YouTube.md
24
YouTube.md
|
|
@ -117,5 +117,29 @@ Newpipe is an Android app that lets you watch without ads.
|
|||
|
||||
5) At toolbar 3-colored ball icon of Video DownloadHelper AddOn, click down arrow button on largest resolution download. It will start downloading video to directory ~/dwhelper
|
||||
|
||||
## Downloading smallest video resolution file
|
||||
|
||||
```
|
||||
#!/usr/bin/env bash
|
||||
|
||||
function border () {
|
||||
local str="$*" # Put all arguments into single string
|
||||
local len=${#str}
|
||||
local i
|
||||
for ((i = 0; i < len + 4; ++i)); do
|
||||
printf '-'
|
||||
done
|
||||
printf '\n| %s |\n' "$str"
|
||||
for ((i = 0; i < len + 4; ++i)); do
|
||||
printf '-'
|
||||
done
|
||||
echo
|
||||
}
|
||||
|
||||
clear
|
||||
border "Internet Video Console"
|
||||
echo
|
||||
read -p "Search For: " searchphrase
|
||||
|
||||
yd --ytdl-pref="[height <=? 480]" --sort-by="upload_date" "${searchphrase}"
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue