El 15/04/2010 12:07, [email protected] escribió:
> At this moment no video can be played with free software on YouTube.
> With or without greasemonkey scripts it gives the same message (Old
> Flash? Go upgrade!) and linking to Adobe's site.
>
> This is probably the last drop for me but I want to see if any of you
> know a solution for this.
>
>
> --
> | Free GNU/Linux distributions | FLOSS Manuals | FSF's campaigns |
Someone posted this script in a forum, hope that helps, it outputs the
video url, all you have to do is to download it
Sorry for my english
#!/bin/sh
# descargaryoutube.sh - script para descargar vides de youtube
# fanta
if [ -f $1 ]
then
echo "You have to use the video URL as parameter"
else
idvideo=$(echo $1 | cut -c32-1000)
echo " "
wget "http://www.youtube.com/get_video_info.php?video_id=$idvideo" -O
stube
token=$(cat stub | sed -e 's/token=/\n/g' | tail -1 | sed -e
's/&thumbnail_url=/\n/g' | head -1)
clear
curl -s -d
"longurl=http://www.youtube.com/get_video.php?video_id=$idvideo%26t=$token"
http://ur1.ca/ |grep -i "Your ur1 is"|html2text
fi