A simple HTTP command line youtube video grabber, written in Python, between 17-May-2012 & 19-May-2012
This project was worked on as an assignment for a graduate course in School of Communication and Information Technology (CIT) at Nile University, Egypt
(Basic URL interpreter module was provided by Nile University professor: Sameh Al-Ansary)
- To run it you need to have Python installed first - (just a 15MB command line shell, no agents, no background processes, nothing to affect your OS real time performance or internet connection bandwidth)
Download and Install the suitable source for your OS from here (I recommend installing the most stable version which is 2.7.3)
During the installation, include the IDLE (Python GUI) to be installed, for a simpler & easy use of the video grabber
* IDLE is a simple Python IDE, or sometimes seen as an advanced colorized interactive command line shell with a basic debugger
To start using it, follow the instructions:
(Instructions are made for IDLE users, more professional users can conclude how to run it form the command line shell)
- a full copy of the instructions is included in the download package as 'instructions.txt' -
1) Get Python & install it on your machine, as described earlier (or find most stable version & suiting source for your OS from here)
2) Download the program, as described earlier (or from Here)
3) Extract the downloaded compressed package 'AIKMA_youtube_video_grabber.zip' from step (2)
- keep the extracted files in the same directory anytime you run the program -
4) Locate 'YoutubeRipper.py' within the extracted files & open it in one of two ways:
4.a) Run Python IDLE & make use of the GUI to navigate & open 'YoutubeRipper.py' , then from 'Run' menu click 'Run Module' , or you can just hit 'F5'
4.b) Run Python command line shell, use execfile("") command & provide the directory of 'YoutubeRipper.py' then press 'Enter'
5) You will be asked to give the video sharing URL provided by youtube (not the browsing URL at the URL field in your web browser)
5.a) In the youtube video page, you'll find 'Share' button near the video window, click it
5.b) You will be given the video sharing URL in a textbox, copy it
6) Now paste or input the sharing URL in the window you are running 'YoutubeRipper.py' program from, and press 'Enter'
- do not worry if the provided URL is temporary or old, or the video file was moved to another node or cluster of youtube server farm, the program will keep tracking & redirecting afterward the changes till locating the current server -
7) Now just wait for the video to be downloaded to the same directory you are running the program from, track the progress shown on the screen
- the video file will take the name the file is named on the server storage not the displayed name on the video page -
8) Now enjoy watching the video you've successfully downloaded ^__^
9) Now run! you and I are going to jail for what you've just done!
================================================================
For any technical problems, please contact AIKMA on:
facebook, twitter, linkedin, or e-mail diectly