- Add copyright information to all files
[videosite.git] / videosite / YouTubeGrabber.pm
index dd1b2af..e366035 100644 (file)
@@ -1,3 +1,7 @@
+# (c) 2007 by Ralf Ertzinger <ralf@camperquake.de>
+# licensed under GNU GPL v2
+#
+# Grabber for youtube.com/de/...
 #
 # download strategy revised using
 # http://www.kde-apps.org/content/show.php?content=41456
@@ -43,7 +47,8 @@ sub _parse {
 
     $metadata->{'URL'} = $url;
     $metadata->{'ID'} = $2;
-    $metadata->{'TYPE'} = 'youtube';
+    $metadata->{'TYPE'} = 'video';
+    $metadata->{'SOURCE'} = 'youtube';
     $metadata->{'TITLE'} = undef;
     $metadata->{'DLURL'} = undef;