123456789101112131415161718192021222324252627 |
- #!/bin/bash
- read search
- python3 parser01.py "$search"
- file="/home/q/Programms/videogrep/Triangle/link.txt"
- IFS=$'\n'
- for var in $(cat $file)
- do
- echo "Proverka_NO" > prov.txt
- python3 parser02.py $var
- file2="prov.txt"
- if [ $(cat $file2) = "sss" ]
- then
- python3 "1.py"
- yt-dlp $var -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" -o "777.mp4"
- videogrep --input "777.mp4" --search "$search"
- mv supercut.mp4 file-$(date +%Y-%m-%d:%k:%M:%S).mp4
- rm "777.mp4"
- fi
- pkill -f firefox
- done
|