projects
/
GM_direct_download_links.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
055cb19
)
Update the regexp for video.repubblica.it
author
Antonio Ospite <ospite@studenti.unina.it>
Sat, 1 Sep 2012 10:46:43 +0000
(12:46 +0200)
committer
Antonio Ospite <ospite@studenti.unina.it>
Sat, 1 Sep 2012 10:47:16 +0000
(12:47 +0200)
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
direct_download_links.user.js
patch
|
blob
|
history
diff --git
a/direct_download_links.user.js
b/direct_download_links.user.js
index
8a34ffc
..
7c19b3c
100644
(file)
--- a/
direct_download_links.user.js
+++ b/
direct_download_links.user.js
@@
-78,7
+78,7
@@
var supported_sites = [
{
locationRegexp: /^http:\/\/video\.repubblica\.it\/.*$/,
urlContainerXPath: '//div[@id="contA"]',
{
locationRegexp: /^http:\/\/video\.repubblica\.it\/.*$/,
urlContainerXPath: '//div[@id="contA"]',
- urlRegexp: /
'pcUrl
', '((http|mms):\/\/[^']*)'/,
+ urlRegexp: /
[^\/]addParam\('format', '[^']*
', '((http|mms):\/\/[^']*)'/,
linkDestXPath: '//div[@id="contA"]',
},
{
linkDestXPath: '//div[@id="contA"]',
},
{