The easy way to download movies from youtube on Linux is: youtube-dl
# yum install youtube-dl.noarch
Use this command to show help options of this script.
$ youtube-dl --help
Usage: youtube-dl [options] video_url
-h, --help print this help text and exit
-v, --version print program version and exit
-u USERNAME, --username=USERNAME
-p PASSWORD, --password=PASSWORD
-o FILE, --output=FILE
output video file name
-q, --quiet activates quiet mode
-s, --simulate do not download video
-t, --title use title in file name
-l, --literal use literal title in file name
-n, --netrc use .netrc authentication data
-g, --get-url print final video URL only
-2, --title-too used with -g, print title too
To download a movie from youtube, just write command:
$ youtube-dl http://www.youtube.com/watch?v=NNFYOX3oNvw
Retrieving video webpage... done.
Extracting URL "t" parameter... done.
Requesting video file... done.
Video data found at http://v9.lscache6.c.youtube.com/videoplayback?ip=0.0.0.0&sparams
Retrieving video data: 100.0% ( 97.93k of 97.93k) at 3.37M/s ETA 00:00 done.
Video data saved to NNFYOX3oNvw.flv
Try it’s a good script.
As we know, we used the following syntax will to create a default script bash. First line: signifies that is the bash script:
Every line and everything after the # is treated as a comment:
A shell variable may be assigned using the following syntax: variable=value_of_variable Example:
… Continue Reading BASH shell scripting tips – part 1 : Working with shell variables.
Open one xterm or console. Use command cd /etc/init.d/ . You are now on /etc/init.d/ directory. Create a file named my_filename. Add your script to this file with the following lines at the top:
# chkconfig: 345 85 15
# some description for your file
Enter this in the shell: chkconfig –add my_filename Use command chmod u+x my_filenameto make this… Continue Reading Fedora 12 – How can we run one script when system startup?
In this tutorial, we show you how to do text-to-speech under Linux with the Festival application. First, you need to install it on your system. On my Fedora 12 I used this:
Try this command to see if it will allow you to use festival:
Now you can… Continue Reading Linux Text-To-Speech Tutorial
This tutorial presents a regular expression to remove comments from the FASM source code. You can use regular expressions in the Find and Replace dialogs by selecting the Use regular expressions check box. In the next image is the right way to remove comments FASM. The picture below is presented… Continue Reading How to remove comments from the fasm source code.
To install Mono 2.6.4 with GTK # 2.12.10 software, you must download this software from here. In the next image, we see all the platforms… We chose the Windows platform. The next image will show you how I installed Mono software” This is all for today.
We use an extension that accesses a site specialized. This is the extension named: TinEye Reverse Image Search After installation, we can use it easily by clicking the right mouse. In the menu that appears, we will find this tool: on TinEye Image Search. Click on it and you will… Continue Reading How to find duplicates of an image on Internet ?
The Blender 2.5 has a number of options available to map the UVW coordinates of an object. The “UVW map” is a result of the process. This result is essentially a set of co-ordinates use to tell them how a texture image is supposed to be applied over the surfaces… Continue Reading Unwrapping a mesh under Blender 2.5.