diff options
author | Skiz <skiznet@aol.com> | 2024-11-16 16:50:18 -0500 |
---|---|---|
committer | Skiz <skiznet@aol.com> | 2024-11-16 16:50:18 -0500 |
commit | 8d8398c2896ac47449156af9634310181defefcf (patch) | |
tree | 078cc41b0f06ba9997f0709adc921e4f7c34dc3b | |
parent | 2bc738b9ee4fd8e2f526487c34e3d9a8bbf181ae (diff) |
Script saves history to file
-rwxr-xr-x | mediachad | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ file=".yt-history" time=$(date +%T-%m-%d-%y) title=$(yt-dlp --get-title --quiet "$link") -echo -e "Search: $input \nDate: $time \nTitle: $title \nLink: $link \n" +echo -e "Search: $input \nDate: $time \nTitle: $title \nLink: $link \n" >> ~/.yt-history # USING YT-DLP #yt-dlp -o - --quiet "link" | mpv - --pause > /dev/null 2>&1 |