Re: [dwm] last.fm + youtube downloader scripts
On Tue, Jan 06, 2009 at 10:42:34AM +0300, Alexander Polakov wrote: http://www.arrakis.es/~rggi3/youtube-dl/ If we're collecting youtube downloaders: Here's an irssi plugin for autodownloadung videos from Youtube and a bunch of other video sites. It could also be used standalone, if youtube-dl.pl would not be broken at the moment. Regards Christian -- Christian.Garbs.http://www.cgarbs.de Auf 93 Millionen Meilen gibt es nichts zwischen der Sonne und meinem Schatten. Ich bin immer irgendetwas im Wege...
Re: [dwm] last.fm + youtube downloader scripts
On 1/6/09, Alexander Polakov polac...@gmail.com wrote: http://www.arrakis.es/~rggi3/youtube-dl/ that's overcomplicated and does not support every kind of youtube links here is another version that supports playlists, embedded /v/ and /watch? urls as well: http://port70.net/~nsz/y/yget.sh
Re: [dwm] last.fm + youtube downloader scripts
Using the external browser is a great hack, especially since w3m supports three of them. For mplayer scripting, I use the following command: mplayer -really-quiet $URL /dev/null When I want high-quality videos, I manually edit the script to add fmt=18 to the end of line starting URL=. This will increase web traffic, but will give a much better picture. On 1/6/09, bill lam cbill@gmail.com wrote: On Tue, 06 Jan 2009, Ian Daniher wrote: As for setting up a hotkey in w3m, I got distracted from the manpage by my bugfix but I'll post to the mailing list as soon as I have it figured out. Thanks. I can view youtube from w3m with a simple script to call mplayer and your revised scripts. I use 2M (external browser) hotkey. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 唐詩180 王維 積雨輞川莊作 積雨空林煙火遲 蒸藜炊黍餉東菑 漠漠水田飛白鷺 陰陰夏木囀黃鸝 山中習靜觀朝槿 松下清齋折露葵 野老與人爭席罷 海鷗何事更相疑
Re: [dwm] last.fm + youtube downloader scripts
On Mon, 05 Jan 2009, Ian Daniher wrote: music. youtubedl I am currently working on binding to a hotkey in w3m to allow near-seamless viewing of youtube videos from a command line browser. I also use w3m and interested in how to do download and view youtube. As pointed out, there are only symlink in the attachments. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 唐詩288 朱慶餘 近試上張水部 洞房昨夜停紅燭 待曉堂前拜舅姑 妝罷低聲問夫婿 畫眉深淺入時無
Re: [dwm] last.fm + youtube downloader scripts
Ooops, epic fail on my part. -- Take 2 On 1/5/09, bill lam cbill@gmail.com wrote: On Mon, 05 Jan 2009, Ian Daniher wrote: music. youtubedl I am currently working on binding to a hotkey in w3m to allow near-seamless viewing of youtube videos from a command line browser. I also use w3m and interested in how to do download and view youtube. As pointed out, there are only symlink in the attachments. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 288 media.tar Description: Unix tar archive wifi.tar Description: Unix tar archive
Re: [dwm] last.fm + youtube downloader scripts
How to configure w3m to use this youtube-dl ? That is not mentioned in README. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 唐詩253 崔顥 長干行二首之一 君家何處住 妾住在橫塘 停船暫借問 或恐是同鄉
Re: [dwm] last.fm + youtube downloader scripts
Hi All, Perhaps my first 'release' was premature. In testing I found a rather atrocious bug which rendered my script useless with some youtube videos. I just completed a partial rewrite and have tested it with great success. ##CODE## UGETURL=$(curl -s $1 |grep fullscreenUrl) URLPARAMS=${UGETURL#*/watch_fullscreen} SPLIT=`echo $URLPARAMS | sed -e 's//\n/g'` video_id=`echo $SPLIT | grep video_id=` t=`echo $SPLIT | grep t=` URL=http://www.youtube.com/get_video?$video_id$t; echo $URL ##/CODE## The bug came from having the positions or t and video_id hardcoded via awk. By splitting URLPARAMS and grepping for t and video_id, the script can extract the information necessary no matter where it is located. As for setting up a hotkey in w3m, I got distracted from the manpage by my bugfix but I'll post to the mailing list as soon as I have it figured out. Best, -- Ian Daniher On 1/6/09, bill lam cbill@gmail.com wrote: How to configure w3m to use this youtube-dl ? That is not mentioned in README. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 唐詩253 崔顥 長干行二首之一 君家何處住 妾住在橫塘 停船暫借問 或恐是同鄉
Re: [dwm] last.fm + youtube downloader scripts
http://www.arrakis.es/~rggi3/youtube-dl/