Bug 255984

Summary: youtube plugin doesn't work
Product: [Applications] kget Reporter: Antonio Rojas <arojas>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: mat69
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Antonio Rojas 2010-11-03 18:06:16 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

when trying to download a youtube video, it throws this error and the download doesn't start:

kget(7633)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Kross: "PythonScript::Constructor." 
Kross: "PythonScript::execute" 
Kross: "PythonScript::execute result=None" 
Kross: "PythonScript::execute connect object= signal=startDownload(QObject*) with pythonfunction=startDownload" 
Kross: "PythonInterpreter::extractException:
  File "/usr/share/apps/kget/content_fetch_scripts/youtubedl/kget_youtubedl.py", line 227, in startDownload
    video_title = extract_step('Extracting video title', 'Unable to extract video title', const_video_title_re, video_webpage)

  File "/usr/share/apps/kget/content_fetch_scripts/youtubedl/kget_youtubedl.py", line 123, in extract_step
    extracted_data = match.group(1)
" 
AttributeError: 'NoneType' object has no attribute 'group'

Reproducible: Always
Comment 1 Matthias Fuchs 2011-08-09 11:06:48 UTC
Unfortunately none is working on that plugin anymore so we might deactivate it in the future.
Comment 2 Matthias Fuchs 2011-08-21 21:59:29 UTC
SVN commit 1248744 by mfuchs:

Do not compile the Content Fetch plugin.

The content fetch plugin is currently not maintainted and
the only plugin for it stopped working quite some time ago.
Until both changes there is no reason to keep it activated.

BUG:255984

 M  +1 -1      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1248744
Comment 3 Matthias Fuchs 2011-08-21 22:00:16 UTC
SVN commit 1248745 by mfuchs:

Fowardport r1248744
Do not compile the Content Fetch plugin.

The content fetch plugin is currently not maintainted and
the only plugin for it stopped working quite some time ago.
Until both changes there is no reason to keep it activated.

BUG:255984

 M  +1 -1      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1248745
Comment 4 Matthias Fuchs 2011-08-21 22:07:59 UTC
As mentioned above none is working on that specific code anymore so the Content Fetch plugin won't be compiled from now on.

In general its structure was not flexible enough to keep up with the fast pace of websites changing so it would need quite a rework.

All this is on our ever growing todo list though has a very low priority.
Thus we can't give you an estimate when or if ever this feature will return.
If there are any updates on this they will be reported to bug #194143.