Add support for telecinco.es
[GM_direct_download_links.git] / direct_download_links.user.js
index 11932f8..e79d916 100644 (file)
@@ -29,6 +29,7 @@
 // @include        http://www.kataweb.it/tvzap/*
 // @include        http://www.rai.tv/*
 // @include        http://soundcloud.com/*
+// @include        http://www.telecinco.es/*
 // ==/UserScript==
 //
 
@@ -119,6 +120,12 @@ var supported_sites = [
     urlRegexp: /"streamUrl":"([^"]*)"/,
     linkDestXPath: '//div[@id="main-content-inner"]',
   },
+  {
+    locationRegexp: /^http:\/\/www\.telecinco.es\/.*$/,
+    urlContainerXPath: '//video[@class="video-js"]',
+    urlRegexp: /src="([^"]*)"/,
+    linkDestXPath: '//div[@class="pg-bd"]',
+  },
 ];
 
 /* Apply different rules to different sites */