On Friday 27 March 2009 21:49:57 Ted Smith wrote: > On Fri, 2009-03-27 at 21:39 -0300, Leo wrote: > > On Friday 27 March 2009 21:24:57 crap0101 wrote: > > > Il giorno ven, 27/03/2009 alle 20.10 -0400, Ted Smith ha scritto: > > > > On Fri, 2009-03-27 at 19:46 -0300, Leo wrote: > > > > > On Friday 27 March 2009 19:37:37 Schoap D wrote: > > > > > > > > Alternatively, if you want to put a URL into terminal, you could use > > > > youtube-dl, which should be in the gNewSense universe repositories > > > > (Traditional BSD license). It's a great little tool that you can use > > > > to get flash or mp4 videos off of youtube. > > > > > > In addition to the previous, there is also `clive', I think similar to > > > youtube-dl. > > > > I use clive to download YouTube videos, but sometimes I only want to > > stream the videos and not download them, that's why I wrote that app. > > > > Also, I use KDE, so I wrote a regular expression in Klipper and every > > time I copy a YouTube URL a menu pops up asking me if I want to watch the > > video. > > Oh, that's incredible. I used to run Klipper all the time, but an effort > to clean up my desktop lead me to uninstall it -- I guess it's time for > it to come back. What's that regex?
Maybe someone can improve it, here it goes:
^(http://)?((w{3}|au|br|ca|cz|fr|de|hk|il|in|ie|it|jp|kr|mx|nl|nz|pl|ru|es|se|
tw|uk)\.)?(youtube\.com/watch\?v=)(.{11})(&.*)?
--
KDE Argentina
http://www.kde.org.ar
--
() ascii ribbon campaign - against html email
/\ www.asciiribbon.org - against proprietary attachments
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ gNewSense-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/gnewsense-users
