added dpx.sh

This commit is contained in:
Jorge Vásquez Pérez
2020-03-12 21:45:25 -07:00
2 changed files with 69 additions and 0 deletions
+7
View File
@@ -3,8 +3,15 @@ qstring="Octonauts Poison Dart Frogs"
for i;
<<<<<<< HEAD
do temp=$(curl -s $qurl$(echo $i | sed 's/\s/+/g') | grep -o href\=\"\/watch\?v\=[^\"]* | head -1)
code=$(echo $temp | sed 's/href\=\"\/watch\>?v\=//')
echo $code
youtube-dl -f bestvideo+bestaudio "https://www.youtube.com/watch?v="$code
=======
do temp=$(curl -s $qurl$(echo $i | sed 's/\s/+/g') | grep -o href\=\"\/watch\?v\=[^\"]* | head -1)
code=$(echo $temp | sed 's/href\=\"\/watch\>?v\=//')
echo $code
youtube-dl -f bestvideo+bestaudio "https://www.youtube.com/watch?v="$code
>>>>>>> 65bebded8069a0b359ab8c1007a68e2991542aaf
done;