From 5ccab7c6dc7ed40dc0d7555faa9ebd8ca52a11ce Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Mon, 14 Nov 2011 11:04:02 +0100 Subject: [PATCH 1/1] Add support for http://video.repubblica.it/* Signed-off-by: Antonio Ospite --- direct_download_links.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/direct_download_links.js b/direct_download_links.js index c7a45a2..a90fca0 100644 --- a/direct_download_links.js +++ b/direct_download_links.js @@ -23,6 +23,7 @@ // @name Direct Download Links // @namespace http://git.ao2.it/GM_direct_download_links.git // @description Add direct download links for (video) files +// @include http://video.repubblica.it/* // @include http://tv.repubblica.it/* // @include http://trovacinema.repubblica.it/* // @include http://www.kataweb.it/tvzap/* @@ -36,6 +37,12 @@ var supported_sites = [ { + locationRegexp: /^http:\/\/video\.repubblica\.it\/.*$/, + fileElem: 'contA', + fileRegexp: /'pcUrl', '(http:\/\/[^']*)'/, + linkDest: 'contA', + }, + { locationRegexp: /^http:\/\/tv\.repubblica\.it\/.*$/, fileElem: 'boxPlayer', fileRegexp: /'pcUrl', '(http:\/\/[^']*)'/, -- 2.1.4