Update the regexp for video.repubblica.it
authorAntonio Ospite <ospite@studenti.unina.it>
Sat, 1 Sep 2012 10:46:43 +0000 (12:46 +0200)
committerAntonio 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

index 8a34ffc..7c19b3c 100644 (file)
@@ -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"]',
   },
   {