![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2007
Beans: 76
|
Here is a simple script i made to download videos from youtube
before i used to use the script youtube-dl from http://www.arrakis.es/~rggi3/youtube-dl/ but its not working for me anymore (but may be its because im behind proxy server) so i decided to make my own ![]() This is similar to unplug plugin for firefox IT DEPENDS ON WGET AND ELINKS ![]() 1) download the source code of the youtube webpage link using elinks 2) then searches for the link from which the video stream is coming 3) then downloads it usage of the script: sudo chmod +x ./download.sh ./download.sh www.youtube.com/_____ the videos will be downloaded in the same directory -------------------------------------------------------------------------------------------- I MADE A GUI OF THE PROGRAM ALSO ( THIS IS MY FIRST GTK APPLICATION ) im learning how to program in gtk+ at present u can just add a list of files to the gui and keep it running overnight U can change the download name (rename) The files are downloaded to ~/youtube directory i faced many problem while making the gui , and was unable to solve ; hopefully someone here will solve it 1) unable to make the list view widget scrollable 2) unable to show the progress of the download in the application itself; so used ZENITY to indicate the progress of the download 3) when i click cancel in the ZENITY the process is not quitting To install the application: ![]() 1) extract the tar.gz file 2) cd to the directory 3) sudo chmod +x install.sh 4) sudo ./install.sh for uninstalling ........ in the same directory 1) sudo chmod +x uninstall.sh 2) sudo ./uninstall.sh ------------------------------------------------------------------------------------------ i have uploaded the source code of the gui also ; U can modify the source and plz post the modified one here ; and explain the probs so that i can also learn about gtk+ and c programming SCREENSHOTS:uploaded Last edited by @vijay@; August 8th, 2007 at 07:36 AM.. |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2007
Beans: 76
|
Re: HOW To :download videos from youtube ( new script and GUI 100% working )
just added the screenshots
|
|
|
|
|
|
#3 |
|
Quad Shot of Ubuntu
![]() Join Date: Sep 2006
Location: Spain
Beans: 404
Kubuntu 7.04 Feisty Fawn
|
Re: HOW To :download videos from youtube ( new script and GUI 100% working )
The script doesn't work for me
Code:
./download.sh http://youtube.com/watch?v=2BCoZiSbGtY /home/sadiq/youtube/hello.flv: No such file or directory |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() |
Re: HOW To :download videos from youtube ( new script and GUI 100% working )
This is a fantastic program! Did you use monodevelop? I can't seem to use GTK# with monodevelop!
__________________
Matio! Last edited by matio; August 25th, 2007 at 06:05 AM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|