20130816
script not works really good , need 10-times click start-button
example new with youtube-dl.exe
start script , copy url , download starts ( see DOS-window )
;- example with youtube-dl.exe modified=20130816 #persistent ;#singleinstance force #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% SetTitleMatchMode, 2 SetBatchLines, -1 Filename1 =Ytube-dl_%modified% folderx=C:\_A_INPUT ;- download here ifnotexist,%folderx% filecreatedir,%folderx% url= clipboard= IfWinNotExist,YouTube run,http://www.youtube.com/watch?v=Zln9I9IttLA return OnClipboardChange: If (A_EventInfo=1) { url = %Clipboard% ifinstring, url, www.youtube.com { StringGetPos, pos, url, & if (pos>=1) StringLeft, url, url, pos ;- mp4= 37/22/18/35(flv)/36/17(3gp) not more = 37 : 1920*1080 and 35 : 854* 480 ;RunWait, %comspec% /k youtube-dl.exe %url% -F ;RunWait, %comspec% /k youtube-dl.exe %url% -f 37/22/18/35/36 -w --restrict-filenames -o %folderx%\`%(title)s#`%(uploader)s#`%(id)s.`%(ext)s ;RunWait, %comspec% /k youtube-dl.exe %url% -f 37/22/18/35/36 -w --restrict-filenames -o %folderx%\`%(title)s#`%(uploader)s#`%(id)s#`%(format)s#`%(format_id)s.`%(ext)s ;RunWait, %comspec% /k youtube-dl.exe %url% -f 37/22/35/34/18/36 -w --restrict-filenames -o %folderx%\`%(title)s#`%(uploader)s#`%(format)s#`%(id)s#`%(format_id)s.`%(ext)s RunWait, %comspec% /k youtube-dl.exe %url% -w --restrict-filenames -o %folderx%\`%(title)s#`%(uploader)s#`%(format)s#`%(id)s#`%(format_id)s.`%(ext)s ;- best quality 1280* 720 ifexist ;RunWait, %comspec% /k youtube-dl.exe %url% -x -f 36 -w --restrict-filenames -o %folderx%\`%(title)s#`%(uploader)s#`%(format)s#`%(id)s#`%(format_id)s.`%(ext)s ;- 3gp ;RunWait, %comspec% /k youtube-dl.exe %url% -f 37 -w --restrict-filenames -o %folderx%\`%(title)s#`%(uploader)s#`%(format)s#`%(id)s#`%(format_id)s.`%(ext)s ;- 1920*1080 maybe , but not allowed from youtube ;RunWait, %comspec% /k youtube-dl.exe %url% -f 36/17 -w --restrict-filenames -o %folderx%\`%(title)s#3gp#`%(uploader)s#`%(id)s.`%(ext)s url= clipboard= run,%folderx% } } return ;----------------------------------------- /* -Download and install Python (free). http://www.python.org/download/windows/ http://www.python.org/downloads/ http://www.python.org/ftp/python/3.3.4/python-3.3.4.msi https://wiki.python.org/moin/Python2orPython3 -Download youtube-dl (free). http://rg3.github.io/youtube-dl/ http://rg3.github.io/youtube-dl/download.html https://yt-dl.org/downloads/2014.02.19.1/youtube-dl ;- click on date 2014.02.19.1 https://github.com/rg3/youtube-dl/blob/master/CHANGELOG */ ;------------- END script ----------------
or
use mozilla addon
http://www.downloadhelper.net/
;==============================================================
( old script removed )
-select quality/size
-Listview with logfile to start user or video later
-convert videos to audio MP3 or AAC
-convert videos to mobilphone
-convert videos to other formats / extensions
================================================
http://postimg.org/image/3s4v2g4zd/
new / old
/* http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs -------------------------------------------------------------------- 5 FLV 240p Sorenson H.263 N/A 0.25 MP3 64 6 FLV 270p Sorenson H.263 N/A 0.8 MP3 64 13 3GP N/A MPEG-4 Visual N/A 0.5 AAC N/A 17 3GP 144p MPEG-4 Visual Simple 0.05 AAC 24 18 MP4 360p H.264 Baseline 0.5 AAC 96 22 MP4 720p H.264 High 2-2.9 AAC 192 34 FLV 360p H.264 Main 0.5 AAC 128 35 FLV 480p H.264 Main 0.8-1 AAC 128 36 3GP 240p MPEG-4 Visual Simple 0.17 AAC 38 37 MP4 1080p H.264 High 3-4.3 AAC 192 38 MP4 3072p H.264 High 3.5-5 AAC 192 43 WebM 360p VP8 N/A 0.5 Vorbis 128 44 WebM 480p VP8 N/A 1 Vorbis 128 45 WebM 720p VP8 N/A 2 Vorbis 192 46 WebM 1080p VP8 N/A N/A Vorbis 192 82 MP4 360p H.264 3D 0.5 AAC 96 83 MP4 240p H.264 3D 0.5 AAC 96 84 MP4 720p H.264 3D 2-2.9 AAC 152 85 MP4 520p H.264 3D 2-2.9 AAC 152 100 WebM 360p VP8 3D N/A Vorbis 128 101 WebM 360p VP8 3D N/A Vorbis 192 102 WebM 720p VP8 3D N/A Vorbis 192 120 FLV 720p AVC [email protected] 2 AAC 128 */