LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Bash: clone of UNPLUG for Youtube ? (https://www.linuxquestions.org/questions/programming-9/bash-clone-of-unplug-for-youtube-909667/)

Xeratul 10-23-2011 11:04 AM

Bash: clone of UNPLUG for Youtube ?
 
Hi,

Unplug is an old / common plugin to allow to watch youtube in Fullscreen with kaffeine or VLC.
Link:https://addons.mozilla.org/en-US/firefox/addon/unplug/

However, I would like to find a script that does ask a string, how much videos, and prompt the URLs to the "medium FLV". So you would get different types of videos (it is kind of random ok, but it could be very useful anyhow for further scripts)

Would you have any ideas?

Let's take this example
http://www.youtube.com/watch?v=qo38vnYI8ek


Code:

#!/bin/sh
echo "Debian and Ubuntu Rock"
echo "Watch Youtube Videos"
echo " "
printf "Search in Youtube:> "
read STRINGTOSEARCH
echo " "
printf "Number of videos:> "
read VIDEONB
# ...
# ...
# not idea to start ... :(
echo "URL Founds: "
echo "$URLFOUNDS"


RocknRolf 10-23-2011 11:47 AM

Try
Quote:

get_flash_videos
http://code.google.com/p/get-flash-videos/

Xeratul 10-23-2011 12:26 PM

Quote:

Originally Posted by RocknRolf (Post 4505890)

Thank you. I would rather a solution, if possible, that singularly work for youtube, and also universal working from the stable debian, without upgrading to SID or compiling, since I would try to avoid compiling my own or using perl code.


All times are GMT -5. The time now is 12:26 AM.