[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What do you guys use instead of youtube-dl and minitube?

Hey Steve.

On Sat, 12 Jul 2014, Steve Litt wrote:

Hi all,

The way I get throttled, occasionally the only way I can watch a
Youtube video is to download it first and then watch it with smplayer.
As far as I can see, Wheezy has no package for either youtube-dl or
minitube. What are you guys using to fill that need?

Er, since you ask, I do something like this...  (apologies if my mail
client does something unhelpful with the long lines.)

 $ ejynt='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17(KHTML, like Gecko) Version/6.0.2 Safari/536.26.17'



 $ quvi --agent "$ejynt" "$iwrl" >~/Music/Locations/${trac}.loc  && swffyx=$(grep '"file_suffix":' ~/Music/Locations/${trac}.loc |sed 's/.*: "\(.*\)".*/\1/')

 $ wget --user-agent="$ejynt" -O ~/Music/Videos/${trac}.${swffyx} "$(grep '"url":' ~/Music/Locations/${trac}.loc |grep -o 'https\?:[^"]*')"

And, since I usually only want the audio, I tack on the following
conjunct to the last line:

 && vlc -I dummy --sout ~/Music/${trac}.ogg ~/Music/Videos/${trac}.${swffyx} vlc://quit

Doesn't always work.  But it works frequently enough for me.

Also, sometimes quvi doesn't supply a filename extension.  But whatever.


Reply to: