From: Antonio Ospite Date: Mon, 14 Nov 2011 10:04:02 +0000 (+0100) Subject: Add support for http://video.repubblica.it/* X-Git-Tag: 0.2~3 X-Git-Url: https://git.ao2.it/GM_direct_download_links.git/commitdiff_plain/5ccab7c6dc7ed40dc0d7555faa9ebd8ca52a11ce Add support for http://video.repubblica.it/* Signed-off-by: Antonio Ospite --- 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:\/\/[^']*)'/,