parent
							
								
									3fe6921180
								
							
						
					
					
						commit
						aa38d3d5af
					
				| @ -0,0 +1,10 @@ | |||||||
|  | qurl="https://www.youtube.com/results?search_query=" | ||||||
|  | qstring="Octonauts Poison Dart Frogs" | ||||||
|  | 
 | ||||||
|  | for i; | ||||||
|  | 
 | ||||||
|  | 	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 | ||||||
|  | done; | ||||||
					Loading…
					
					
				
		Reference in new issue