![](https://seccdn.libravatar.org/avatar/a257fa0591438f3c6ad1c8bc48ce0fdc.jpg?s=120&d=mm&r=g)
On Sun, 13 Apr 2014 22:12:23 -0400 Felix Miata wrote:
On 2014-04-14 03:24 (GMT+0200) Carlos E. R. composed:
...some downloads have to be done directly by Firefox...
It's often possible to use wget by starting the download with FF, capturing the source URL from the FF download manager, feeding it to wget, then aborting the FF download. Before the "Preserve Download Modification Timestamp" extension existed, that's how I did a lot of downloading.
Wget has an extension for OS/2 called Awget that allows wget to do the download by dragging the download URL to the desktop. Maybe that concept exists for Linux in some fashion as well?
There's an elegant cli solution for this called 'youtube-dl' http://rg3.github.io/youtube-dl/ "youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter (2.6, 2.7, or 3.3+), and it is not platform specific. It should work in your Unix box, in Windows or in Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like." Among the many, many options is "-r, --rate-limit" to limit maximum download rate in bytes per second (e.g. 50K or 4.2M) You can probe to discover available resolutions and file types, e.g.: ~> youtube-dl -F https://www.youtube.com/watch?v=rsL6mKxtOlQ [youtube] Setting language [youtube] rsL6mKxtOlQ: Downloading webpage [youtube] rsL6mKxtOlQ: Downloading video info webpage [youtube] rsL6mKxtOlQ: Extracting video information [info] Available formats for rsL6mKxtOlQ: format code extension resolution note 171 webm audio only DASH webm audio , audio@ 48k (worst) 140 m4a audio only DASH audio , audio@128k 160 mp4 192p DASH video 242 webm 240p DASH webm 133 mp4 240p DASH video 243 webm 360p DASH webm 134 mp4 360p DASH video 17 3gp 176x144 36 3gp 320x240 5 flv 400x240 43 webm 640x360 18 mp4 640x360 (best) Then select to download the 640x360 mp4 version like this: ~> youtube-dl -f 18 https://www.youtube.com/watch?v=rsL6mKxtOlQ Invoke 'youtube-dl --help' to view additional options. hth & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org