Warning: session_start(): open(/tmp/sess_oc4jaioku7b5hhqrph9h5r5fg4, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Get YouTube Video (improved) openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

Get YouTube Video (improved)

   1.12a  

KDE Service Menu

Score 80%
Get YouTube Video (improved)
zoom


Get YouTube Video (improved)
zoom


Link:  Link
Downloads:  24214
Submitted:  Jun 25 2006
Updated:  May 5 2012

Description:

Usage:
Right-click onto a link to a YouTube video or at the background of the YouTube site showing the video and choose action -> Download YouTube Video -> ...


About:
I made some modifications to the original YouTube Service Menu. It didn't work for me, so I looked at the source. I added a different method to guess the video_id and I added additional parameters to the query string to download the video.

With this Konqueror/KDE service menu it is possible to download a YouTube video
by right clicking a link to the video and choosing "Download YouTube Video" from the
actions menu.

For more details see:
http://bitbucket.org/panzi/youtube-service-menu/wiki/Home

See also the original version(s) of this script:
http://www.kde-apps.org/content/show.php?content=37509
http://www.kde-apps.org/content/show.php?content=41432

Note:
I don't use this script myself anymore because I now use this userscript (which I also made):
http://userscripts.org/scripts/show/98782

This means this script might not be maintained in the future.




Changelog:

version 1.12a:
FIX: encoding problems

version 1.12:
NEW: chose format from menu with --format=ask.
NEW: --list option for Python script.
FIX: typos that made the script crash

version 1.11b:
FIX: Crash introduced in last version.

version 1.11a:
Updated greek translation. Thanks to Dimitrios Glentadakis.

version 1.11:
FIX: Extraction of video information. Now a different data extraction strategy
reading the flashvars of embed is used. Hopefully this is more stable.

version 1.10a:
ADD: Greek translation, thanks to Dimitrios Glentadakis (dglent)

version 1.10:
FIX: Extraction of video information. Now a different data extraction strategy
reading the flashvars of embed is used. Hopefully this is more stable.
DEP: New dependency to lxml: http://lxml.de/
NEW: Added video format 38: High Definition 3072p (mp4)

For more see:
http://bitbucket.org/panzi/youtube-service-menu/src/tip/Changelog




LicenseGPL
(youtube-servicemenu-1.12a.tar.bz2)
Fedora(youtube-servicemenu-kde4-1.12a-1.noarch.rpm)
Send to a friend
Subscribe
Other  Content  from panzi
Report inappropriate content



goto page: prev   1  2  3  4  5  6  7  8 

-

 Greek translation

 
 by dglent on: Mar 13 2011
 
Score 50%

i did a translation for the greek language
http://glenbox.free.fr/files/youtube-servicemenu/el.po

but i added manualy the file in: /usr/share/get_yt_video/el/LC_MESSAGES/get_yt_video.mo
and i have the messages always in english


Reply to this

-

 Re: Greek translation

 
 by dglent on: Mar 13 2011
 
Score 50%

i forgot the desktop file !

http://glenbox.free.fr/files/youtube-servicemenu/get_yt_video.desktop

it is ok now


Reply to this

-
.

 Re: Re: Greek translation

 
 by panzi on: Apr 2 2011
 
Score 50%

Thanks! I'll add your translation.


Reply to this

-
.

 Menu not showing

 
 by rangerGR on: Apr 3 2011
 
Score 50%

In order to make the popup menu show up in konqueor, I had to edit the desktop file and add

Quote:
Type=Service
MimeType=application/octet-stream;
X-KDE-ServiceTypes=KonqPopupMenu/Plugin


under [Desktop Entry]


Reply to this

-
.

 Re: Menu not showing

 
 by rangerGR on: Apr 3 2011
 
Score 50%

also, get_yt_video.py doesnt work with python 3

Quote:
$ get_yt_video.py
File "/usr/bin/get_yt_video.py", line 347
except Exception, e:
^
SyntaxError: invalid syntax


Reply to this

-

 Re: Re: Menu not showing

 
 by panzi on: Apr 18 2011
 
Score 50%

Yeah these lines get added by mkrpm.py when you build the KDE 4 rpm or when installing using install-kde4.sh. I guess I can remove KDE 3 support now and include them per default.

Also I never tried to run the script using Python 3. Under most (all?) distributions Python 2 is still the standard.


Reply to this

-
.

 Re: Re: Re: Menu not showing

 
 by rangerGR on: Apr 28 2011
 
Score 50%

I made a custom package for arch linux using a PKGBUILD script, so i didn't use mkrpm.py or install-kde4.sh, that's why I had to add these lines manually.

Arch linux uses python 3 by default, so I had to change
#!/usr/bin/env python
to
#!/usr/bin/env python2
in order to make it work.


Reply to this

-

 rpm for Mageia

 
 by dglent on: Apr 18 2011
 
Score 50%

I'd like to share the rpm that i did for Mageia

http://glenbox.free.fr/rpm/mga1/noarch/youtube-servicemenu-kde4-1.10a-1mgr1.noarch.rpm


Reply to this

-

 Re: rpm for Mageia

 
 by dglent on: Apr 8 2012
 
Score 50%

the new version
http://www.mageia-gr.org/rpm/1/noarch/kde-youtube-servicemenu-1.11a-1mgr1.noarch.rpm


Reply to this

-
.

 Needs updating

 
 by KevinKofler on: Aug 29 2011
 
Score 50%

YouTube has changed some stuff again, which broke this tool. Other tools have already been updated.


Reply to this

-

 Re: Needs updating

 
 by dglent on: Apr 8 2012
 
Score 50%

Yesterday was working fine but today it does nt work (?)


Reply to this

-

 Re: Re: Needs updating

 
 by dglent on: Apr 8 2012
 
Score 50%

I have the error message "expected string or buffer"


Reply to this

-

 Re: Re: Re: Needs updating

 
 by panzi on: Apr 10 2012
 
Score 50%

For which video does this happen? What python version do you use?


Reply to this

-

 Re: Re: Re: Re: Needs updating

 
 by dglent on: Apr 10 2012
 
Score 50%

It happens in all videos i tried.
example: http://www.youtube.com/watch?v=aLEhh_XpJ-0

I have this message in the konsole:
Traceback (most recent call last):
File "/usr/bin/get_yt_video.py", line 504, in main
file_name, vid_url = get_filename(save_dir, video_id, select)
File "/usr/bin/get_yt_video.py", line 223, in get_filename
m = re.search(r"^\s*yt\.playerConfig\s*=\s*(.*);\s*$",script.text,re.M)
File "/usr/lib64/python2.7/re.py", line 142, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or buffer


Reply to this

-

 Re: Re: Re: Re: Re: Needs updating

 
 by panzi on: Apr 10 2012
 
Score 50%

Ok, is it fixed in 1.11b?


Reply to this

-

 Re: Re: Re: Re: Re: Re: Needs updating

 
 by dglent on: Apr 10 2012
 
Score 50%

Thanks, yes it is fixed exept for the mp4 format:

Traceback (most recent call last):
File "/usr/bin/get_yt_video.py", line 506, in main
file_name, vid_url = get_filename(save_dir, video_id, select)
File "/usr/bin/get_yt_video.py", line 272, in get_filename
{"name":name, "options": "\n".join("<li><b>%s:</b> %s</li>" % (key, select[key]) for key in sorted(select))})
ValueError: <p>Video "Say Say Say by Paul McCartney and Michael Jackson by GiraldiMedia" does not support given options:</p><ul><li><b>itag:</b> 22</li></ul>

I tried with other videos too, same result.



-

 Re: Re: Re: Re: Re: Needs updating

 
 by panzi on: Apr 11 2012
 
Score 50%

(There's no reply button on your other post.)

It's because there is no version of this video with itag 22 (mp4 720p). There is only one with itag 18 (mp4 360p). Because there is no way to dynamically generate the menu of a user script I just list some common ones, that actually might not be supported by every video.

Use my user script (linked in the description above) to get a nice download menu inside the YouTube interface that only presents you with the actually supported options. If your browser supports user scripts, that is. (They are also called greasemonkey scripts sometimes.)

If your browser does not support users scripts, it might be possible to turn it into a bookmarklet.


Reply to this

-

 Re: Re: Re: Re: Re: Re: Needs updating

 
 by dglent on: Apr 11 2012
 
Score 50%

It is ok for me with the right click menu.



For the userscript, i dont know how to adapt to konqueror.
I found this link http://blog.ssokolow.com/archives/2007/01/30/konqueror-with-bookmarklets/
i follow the instructions but realy say i did nt have any result and the userscript above i dont know where to add it in the bookmarklets of konqueror.



-

 Re: Re: Re: Re: Re: Needs updating

 
 by panzi on: Apr 12 2012
 
Score 50%

Apparently crappy Konqueror does not support bookmarklets built-in. You have to install the "Minitools" plugin (usually distributions have it in their package system) for that:
http://priyadi.net/archives/2004/11/04/using-bookmarklet-in-konqueror/
Then simply copy the whole script starting after "user strict"; and paste it in the location filed of the minitools bookmark editor. Add javascript: in front and void(0) at the end of the script.


Reply to this

-

 Error message

 
 by dglent on: Apr 13 2012
 
Score 50%

With the new version 1.12, to execute it, i had to change the shebang from python2 to python2.7

When i click on download, i have the follow message and the download does not start:
Traceback (most recent call last):
File "/usr/bin/get_yt_video.py", line 582, in main
file_info = get_filename(save_dir, video_id, select)
File "/usr/bin/get_yt_video.py", line 300, in get_filename
itag = showMenu(_("Save YouTube Video"),_("Chose format of »%(title)s« by »%(user)s«:") % video_info,menu)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 9: ordinal not in range(128)


If i click on download and play, it works


Reply to this

-

 Error message

 
 by dglent on: Apr 13 2012
 
Score 50%

With the new version 1.12, to execute it, i had to change the shebang from python2 to python2.7

When i click on download, i have the follow message and the download does not start:
Traceback (most recent call last):
File "/usr/bin/get_yt_video.py", line 582, in main
file_info = get_filename(save_dir, video_id, select)
File "/usr/bin/get_yt_video.py", line 300, in get_filename
itag = showMenu(_("Save YouTube Video"),_("Chose format of »%(title)s« by »%(user)s«:") % video_info,menu)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 9: ordinal not in range(128)


If i click on download and play, it works


Reply to this

-

 Re: Error message

 
 by dglent on: Apr 14 2012
 
Score 50%

This happens only when the video has a title with Greek words or mixed !
example:
http://www.youtube.com/watch?v=Wlz6rE4vPGQ


Reply to this

-

 Re: Re: Error message

 
 by panzi on: Apr 24 2012
 
Score 50%

Indeed. I noted it and will look into it when I've time.

Also for some reason I don't get notified when someone posts a new comment here. So if you want a bug to be noticed add it to the issue tracker (already did this for this bug): https://bitbucket.org/panzi/youtube-service-menu/issues?status=new&status=open


Reply to this

-

 Re: Re: Re: Error message

 
 by dglent on: Apr 27 2012
 
Score 50%

ok, i ,subscribed to the project's tracker

thanks


Reply to this

goto page: prev   1  2  3  4  5  6  7  8 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team