From 9d2201a38a164a13b2518fe10d685e0907b7b7a6 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sat, 1 Sep 2012 12:51:21 +0200 Subject: [PATCH 1/1] Add support for telecinco.es You still need to connect from Spain to download the actual video tho. I had success using a HTTP proxy located in Spain. Signed-off-by: Antonio Ospite --- direct_download_links.user.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/direct_download_links.user.js b/direct_download_links.user.js index 11932f8..e79d916 100644 --- a/direct_download_links.user.js +++ b/direct_download_links.user.js @@ -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 */ -- 2.1.4