
Download Youtube video
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Konqueror service menu to download and encode youtube videos.
This is a hack of another service menu that stoped working (at least for me):
http://www.kde-apps.org/content/show.php?content=37509
It has the following features:
- Download videos with the KDE file copy dialog instead of using KGet
- Automatically encode videos with mencoder, or just download
You can use ffmpeg too, just comment out the right lines in the python file, I'm unable to encode some videos with ffmpeg, so mencoder is the default
Dependencies: python and mencoder/ffmpeg
installation:
cd ~/.kde/share/apps/konqueror/servicemenus/
tar xzvf /path/to/youtube-servicemenu.tar.gz
Thanks to arctor for the original script
mescobal
13 years ago
# BEGIN proposed changes
# check if saved directory exists
line=""
if os.path.exists('defaultdir.txt'):
# if file exists load its content
f = open('defaultdir.txt','r+')
line = f.readline()
if line=="":
# if the file is empty, then default is home directory
line="~"
f.close()
rootdir_pipe = os.popen('kdialog --title "Save file(s) in..." --getexistingdirectory '+ line)
root_dir = rootdir_pipe.read().strip()
print root_dir
f = open('defaultdir.txt','w')
# save selected path
f.write(root_dir)
f.close()
# END of proposed changes
Report
JSA
13 years ago
First of all, thanks for this app. It's great!
Secondly, I have to inform you of a little bug in the script: it can't download files which have a ! symbol on their name. Try giving it a go.
Thanks for the development of this service menu.
Report
loefisch
14 years ago
But it would be quite more handy, if the program remembered where I saved the last vid.
thx
Report
RompeRatones
14 years ago
Report
panzi
14 years ago
http://www.kde-apps.org/content/show.php?content=41456
Report
denisq
14 years ago
Report
panzi
14 years ago
Report